In addition to the things @mathiasconradt said, take a look at the doc for custom claims:
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Access role from SPA | 2 | 427 | February 2, 2024 | |
See the roles of users in the accestoken | 4 | 1063 | August 25, 2023 | |
Access user permissions array in user token | 2 | 3906 | December 21, 2022 | |
Auth0-React: Best way to get user role/permission data to render app components | 2 | 7344 | November 11, 2020 | |
How to get user roles in non-react functions on client in spa? | 2 | 14 | February 14, 2025 |