So I currently have a React SPA using express for server and JWT’s for authentication. I have an auth0-authorization extension setup with the management API and working with a rule set for RBAC. Within my rule set, I am able to log a requiredRules object and compare that against userRoles to see if they have access to the application and this works fine.
But, I would like to create more routing logic throughout the application, for say access to different forms. Is there a way I can grab some sort of user role object from my application to use with more in-app logic? I have ran the HTTP GET/ POST requests for roles but I seem to only be getting the scopes as a response and this doesn’t seem like the best object to be creating log off?