How to get user permissions in SPA?

Hi @panda,

yes, this question has been asked before.

Now how do I get user permissions in order conditionally render the UI?

RBAC only adds permissions to the access token, not ID token. However, you’d need it in the ID token, because only that one is meant to be parsed in the SPA client, the access token is not.

Therefore, see:

http://community.auth0.com/t/how-do-i-add-user-permissions-to-id-token/28611