I want to add more claims into access Token.
But I cannot set the name to "role", "clientId", "tenant" etc.
Can I do that or do we have some restrict words for claims
I want to add more claims into access Token.
But I cannot set the name to "role", "clientId", "tenant" etc.
Can I do that or do we have some restrict words for claims
Hi @bruce-8002 · Thank you for reaching out.
There are a number of restricted claims like role, roles, client_id and so on, which are restricted and reserved for specific purposes. You can not set these claims.
You can find entire list of JWT restricted claims here: JSON Web Token (JWT) restricted claim set
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.
4 people are following this question.