Access role from SPA

Hi @Giom,

Welcome to the Auth0 Community!

You could add the user’s roles as a custom claim to the access token so that you can use that information when a user logs in to display their role.

Let me know if you have any questions.

Thanks,
Rueben