You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/discord-social-sdk/development-guides/using-provisional-accounts.mdx
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,9 +72,9 @@ For existing Discord users who have added a provisional account as a game friend
72
72
73
73
Discord offers a number of authentication methods, the one you use depends on how you game and account system is set up:
74
74
75
-
1. Use the [Bot Token Endpoint](/docs/discord-social-sdk/development-guides/using-provisional-accounts#bot-token-endpoint#) if your game has an account system which uniquely identifies users. This is the recommended approach when possible.
76
-
2. Use the [External Credentials Exchange Endpoint](/docs/discord-social-sdk/development-guides/using-provisional-accounts#external-credentials-exchange-endpoint) if you have an existing OIDC provider, or do not have an account system.
77
-
3. Use the [Client Side Token Exchange Method](/docs/discord-social-sdk/development-guides/using-provisional-accounts#provisional-account-authentication-for-public-clients) if you are using a Public Client.
75
+
1. Use the [Bot Token Endpoint](/docs/discord-social-sdk/development-guides/using-provisional-accounts#server-authentication-with-bot-token-endpoint) if your game has an account system which uniquely identifies users. This is the recommended approach when possible.
76
+
2. Use the [Server Authentication with External Credentials Exchange](/docs/discord-social-sdk/development-guides/using-provisional-accounts#server-authentication-with-external-credentials-exchange) if you have an existing OIDC provider, or do not have an account system.
77
+
3. Use the [Client Side Token Exchange Method](/docs/discord-social-sdk/development-guides/using-provisional-accounts#authentication-for-public-clients) if you are using a Public Client.
78
78
79
79
If you are using (2) or (3), you must configure you identity provider before being able to create provisional accounts.
80
80
@@ -122,12 +122,12 @@ You provide external authentication and uniquely identifies the user, and Discor
122
122
123
123
Once authentication is complete, you can use the access token as you would a full Discord user's access token.
124
124
125
+
### Server Authentication with Bot Token Endpoint
125
126
126
-
### Provisional Account Authentication for Servers
127
-
128
-
If you are not using the [`Client::GetProvisionalToken`] method, you'll need to make a request to the Discord API provisional account token endpoint.
127
+
:::info
128
+
This is the preferred method of authentication. It ends up being the simplest choice for most provisional account integrations.
0 commit comments