K
Kindeβ€’2mo ago
marc

Nuxt SDK - Get User Role on the Server

Hi there Is there a way to get a users role on the server side? I can't find a function on KindeContext which provides this information. Thanks for your help πŸ™‚
1 Reply
IkiTg07
IkiTg07β€’2mo ago
Hey. Not familiar with nuxt and can't find something specific on the nuxt docs but if you know a way to get the token you could add the roles claim to it https://docs.kinde.com/manage-users/roles-and-permissions/user-roles/#add-roles-to-the-access-token
Kinde docs
Manage user roles
Our developer tools provide everything you need to get started with Kinde.
Want results from more Discord servers?
Add your server