Auth0 Home Blog Docs

Use of Roles and permits in a SPA

Hello, I am new to Auth0 and I am beginning to learn about the operation, the documentation does not present examples of use in many cases, I have been looking a lot in the blog about the use of access control based on roles RBAC, I have an application SPA with which it requires several user roles, I already know how to assign and create permissions and roles to users, I also know how to obtain them at the beginning of the session, but I don’t know how I can use them in my frontend to hide or show things depending on the type of user who joined the SPA, please help.

Hi @alondra,

Have you taken a look at this blog post?