How can I retrieve a user's roles using react-auth0-spa?

Hi @groffcole,

Welcome to the Auth0 Community Forum!

I would recommend adding the roles to an id token via a rule.

Let me know if that doc helps.

Thanks,
Dan!

2 Likes