Skip to content

Commit 68af9e2

Browse files
authored
fix(docs): organization scope value in org integration guide (#795)
1 parent d43a023 commit 68af9e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/recipes/organizations/integration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ To perform actions in the context of an organization, the user needs to be grant
148148

149149
### Step 1: Add parameters to the authentication request
150150

151-
- If you are using a Logto SDK with Organizations support, you can add the `urn:logto:scope:organization_token` scope to `scopes` parameter of the configuration object, the same way as [Get organization IDs of the current user](#get-organization-ids-of-the-current-user).
151+
- If you are using a Logto SDK with Organizations support, you can add the `urn:logto:scope:organizations` scope to `scopes` parameter of the configuration object, the same way as [Get organization IDs of the current user](#get-organization-ids-of-the-current-user).
152152
- Logto SDK with Organizations support will automatically handle the rest of the configuration.
153153
- For other cases, you need to add the `offline_access` and `urn:logto:scope:organizations` scopes to the `scope` parameter and the `urn:logto:resource:organizations` resource to the `resource` parameter of the SDK config (or auth request).
154154
- Note: `offline_access` is required to get the `refresh_token` that can be used to fetch organization tokens.

0 commit comments

Comments
 (0)