Hi @xmjoodi,
Here is an FAQ for adding a default role to the user:
Please let me know if you have additional questions about this.
You can store the roles in a custom claim:
https://auth0.com/docs/scopes/sample-use-cases-scopes-and-claims#add-custom-claims-to-a-token
You’d then access the custom claim in the /userinfo request as described in the quickstart:
https://auth0.com/docs/quickstart/webapp/python/01-login#add-the-callback-handler
2 Likes