Claims in the client_credentials flow #769
-
Hi, I have a client in Postman of type client_credentials that uses the Scope 'api' of type API Resource. In this context, how do I ensure that the 'sub' claim (id or nameidentifier) is included in the token, because it's not there. Is this possible? When the scope is set as API Resource, you cannot map claims like you can with Identity Resource type. Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
simpleidserver
Jun 25, 2024
Replies: 1 comment
-
Hello, It is normal that the user sub is not returned in the claim because you are using the client_credentials grant type, and there is no user involved. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
projasWis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
It is normal that the user sub is not returned in the claim because you are using the client_credentials grant type, and there is no user involved.