Auth0 Permission Check with NextJS

Hi there @ar4891 welcome to the community!

While I’m not super familiar with NextJS, typically roles are added to an Access Token and are utilized that way - The following resources may be of help:

Regarding adding the roles as a custom claim to an Access Token, please see:

Hope this helps!

1 Like