Hi @bruce · 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.