How to add roles, permissions to a user during signup?

Hi @ilyas-shah,

Thanks for joining us in the Auth0 Community!

You can setup RBAC so your roles are automatically associated with permissions.

This FAQ shows how to add a role upon signup:

You could customize the rule to automatically set roles based on different factors like IP, email domain, etc.

You could add that role to the token as a custom claim like this:

Let me know if that helps! Also let me know if you need some more insight on this.

Thanks,
Dan