Skip to content

Commit 4483c86

Browse files
spenhandmarkmandel
andauthored
Apply suggestions from code review
Co-authored-by: Mark Mandel <[email protected]>
1 parent dbf57ae commit 4483c86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/discord-social-sdk/development-guides/using-provisional-accounts.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ When a player wants to convert their provisional account to a full Discord accou
297297

298298
### Merging Provisional Accounts for Servers
299299

300-
Merging is as simple as including `external_auth_type` and `external_auth_token` in a request to `/oauth2/token`. Discord will look up the Provisional User associated with the provided identity and attempt to merge it in to the full Discord account that generated the provided `code`.
300+
To merge provisional accounts, include `external_auth_type` and `external_auth_token` values with a request to `/oauth2/token`. Discord will look up the Provisional User associated with the provided identity and attempt to merge it in to the full Discord account that generated the provided `code`.
301301

302302
#### Desktop & Mobile
303303

@@ -368,7 +368,7 @@ def exchange_device_code_with_merge(device_code):
368368

369369
If you do not have a backend, leverage the [`Client::GetTokenFromProvisionalMerge`] (Desktop & Mobile) or [`Client::GetTokenFromDeviceProvisionalMerge`] (Console) method, which will handle the entire process for you. You'll want to first enable Public Client on your Discord application's OAuth2 tab on the Discord developer portal. You can then leverage the [`Client::GetTokenFromProvisionalMerge`] or [`Client::GetTokenFromDeviceProvisionalMerge`] method using just the client.
370370

371-
This function should be used with the Client::Authorize function whenever a user with a provisional account wants to link to an existing Discord account or "upgrade" their provisional account into a "full" Discord account.
371+
This function should be used with the [`Client::Authorize`] function whenever a user with a provisional account wants to link to an existing Discord account or "upgrade" their provisional account into a "full" Discord account.
372372

373373
In this case, data from the provisional account should be "migrated" to the Discord account, a process we call "account merging". Specifically, relationships, DMs, and lobby memberships are transferred to the Discord account.
374374

0 commit comments

Comments
 (0)