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: authentication-personalization/authentication-setup.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ Your documentation is hosted at `docs.foo.com` and your team uses the dashboard
103
103
***Authorization URL**: Your OAuth endpoint.
104
104
***Client ID**: Your OAuth 2.0 client identifier.
105
105
***Client Secret**: Your OAuth 2.0 client secret.
106
-
***Scopes**: Permissions to request. Use multiple scopes if you need different access levels.
106
+
***Scopes**: Permissions to request. Copy the **entire** scope string (for example, for a scope like `provider.users.docs`, copy the complete `provider.users.docs`). Use multiple scopes if you need different access levels.
107
107
***Token URL**: Your OAuth token exchange endpoint.
108
108
***Info API URL** (optional): Endpoint to retrieve user info for personalization. If omitted, the OAuth flow will only be used to verify identity and the user info will be empty.
109
109
***Logout URL**: The native logout URL for your OAuth provider. If your provider has a `returnTo` or similar parameter, point it back to your docs URL.
@@ -129,12 +129,12 @@ Your documentation is hosted at `foo.com/docs` and you have an existing OAuth se
129
129
**Configure your OAuth server details** in your dashboard:
**Create a user info endpoint** at `api.foo.com/docs/user-info`, which requires an OAuth access token with the `docs-user-info` scope, and returns:
137
+
**Create a user info endpoint** at `api.foo.com/docs/user-info`, which requires an OAuth access token with the `provider.users.docs` scope, and returns:
Copy file name to clipboardExpand all lines: authentication-personalization/personalization-setup.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -244,7 +244,7 @@ To redirect users to specific sections after login, use this URL format: `https:
244
244
3. Select **OAuth** and configure these fields:
245
245
* **Authorization URL**: Your OAuth authorization endpoint.
246
246
* **Client ID**: Your OAuth 2.0 client identifier.
247
-
* **Scopes**: Permissions to request. Must match the scopes of the endpoint that you configured in the first step.
247
+
* **Scopes**: Permissions to request. Copy the **entire** scope string (for example, for a scope like `provider.users.docs`, copy the complete `provider.users.docs`). Must match the scopes of the endpoint that you configured in the first step.
248
248
* **Token URL**: Your OAuth token exchange endpoint.
249
249
* **Info API URL**: Endpoint to retrieve user data for personalization. Created in the first step.
250
250
4. Select **Save changes**
@@ -259,7 +259,7 @@ To redirect users to specific sections after login, use this URL format: `https:
259
259
260
260
Your documentation is hosted at `foo.com/docs` and you have an existing OAuth server that supports the PKCE flow. You want to personalize your docs based on user data.
261
261
262
-
**Create a user info endpoint** at `api.foo.com/docs/user-info`, which requires an OAuth access token with the `docs-user-info` scope and responds with the user's custom data:
262
+
**Create a user info endpoint** at `api.foo.com/docs/user-info`, which requires an OAuth access token with the `provider.users.docs` scope and responds with the user's custom data:
0 commit comments