-
Notifications
You must be signed in to change notification settings - Fork 10
docs(multiapp): add Configure custom scopes step to manage-apps guide #726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -120,7 +120,24 @@ Register and manage applications in Scalekit. Each application gets its own OAut | |
|
|
||
| For definitions, validation rules, custom URI schemes, and environment-specific behavior, see [Redirect URL configuration](/guides/dashboard/redirects/). | ||
|
|
||
| 5. ## Delete an application | ||
| 5. ## Configure custom scopes | ||
|
|
||
| Scalekit includes `openid`, `email`, `profile`, and `offline_access` as default scopes. If your application needs additional scopes — such as `todo:read` or `data:read` — in the access token during an OAuth authorization flow, define them in the application's **Advanced Settings**. | ||
|
|
||
| To configure a custom scope: | ||
| 1. Open the application and go to the **Advanced Settings** tab | ||
| 2. Under **Define Scopes**, select an existing scope or type a new one and add it | ||
| 3. Click **Save** | ||
|
|
||
| When initiating the authorization request, pass the custom scope in the `scope` parameter alongside the standard scopes: | ||
|
|
||
| ``` | ||
| scope=openid profile email offline_access todo:read | ||
| ``` | ||
|
Comment on lines
+134
to
+136
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add a language identifier (or The fenced block is untyped. Use a language-tagged block (for example, As per coding guidelines: “Always add a language identifier to fenced code blocks” and “For single-line code snippets, set 🤖 Prompt for AI Agents |
||
|
|
||
| Scalekit includes the requested scopes in the access token, provided they are configured for the application. | ||
|
|
||
| 6. ## Delete an application | ||
|
|
||
| Delete applications from the bottom of the configuration page. | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clarify token lifetime and secure usage when describing scopes in access tokens.
This section states scopes appear in the access token, but it does not state token lifetime and secure handling guidance. Add one short sentence covering both.
As per coding guidelines: “Any reference to tokens (idToken, accessToken, refreshToken) MUST clarify: what it contains, its lifetime, and how to use it securely.”
Also applies to: 140-140
🤖 Prompt for AI Agents