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.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Doubts about how to obtain user roles in a SPA | 2 | 2573 | December 16, 2021 | |
| Best practice for role-based or permission-based authorization in a React SPA | 4 | 354 | November 18, 2025 | |
| Role Base Access Control Implementation using auth0-spa-js | 1 | 6182 | August 5, 2019 | |
| Authenticating a User through 1 SPA that later gives access to Multiple APIs | 4 | 5861 | February 16, 2024 | |
| Rails. Role Based Access Control | 2 | 4216 | June 13, 2020 |