Skip to content

Commit 5ed2846

Browse files
Merge pull request #6058 from wso2/fixing-product-is-issue-27542-1775841390
2 parents c976863 + 5c50f4a commit 5ed2846

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

en/includes/guides/fragments/manage-app/oidc-settings/access-token.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ For **JWT** access tokens, this feature enables you to specify which user attrib
6262
!!! note
6363
All configured user attributes are included in the access token, regardless of the requested scopes.
6464

65+
!!! warning
66+
For custom attributes to appear in the access token, you must explicitly add them to an OIDC scope. Without this mapping, custom attributes will not be included in the access token, even if they are configured under **Access Token Attributes**.
67+
For custom attributes to appear in the access token, you must explicitly add them to an OIDC scope. Without this mapping, custom attributes will not be included in the access token, even if they are configured under **Access Token Attributes**.
68+
69+
To map custom attributes to an OIDC scope, configure the scope settings in your application's OIDC configuration and ensure the custom attributes are associated with the appropriate scope.
70+
To map custom attributes to an OIDC scope, [configure the custom attributes for the appropriate scopes]({{base_path}}/guides/users/attributes/manage-scopes/#edit-scopes) and ensure that your application's OIDC configuration is updated to request those scopes.
71+
6572
![Access-Token-Attributes]({{base_path}}/assets/img/guides/authorization/access-token/access-token-attributes.png){: width="600" style="display: block; margin: 0; border: 0.3px solid lightgrey;"}
6673

6774
{% endif %}

0 commit comments

Comments
 (0)