How to incorporate roles in the useUser hook from nextjs-auth0?

Hey there @faabiopk welcome to the community!

Most of what you’ve described seems correct so that’s good :slight_smile: I don’t think the namespace you’ve used (auth0.com) will work per the guidelines here. Are you able to test using a different namespace or a non-namespaced value instead?

I also recommend checking out this post with regards to permissions:

Hope this helps!

1 Like