KindeK
Kinde3y ago
1 reply
jixxywizzy

Fetch user role in nextjs-app-v2 sdk

Hello, I wanted to fetch the user role of the currently logged in user without calling an api, Please provide the solution for the same.

I'm using nextjs 14.0.2 and kinde-auth-nextjs-app-router-v2 sdk.

It will be good if I can get in kindeServersession same as how we get an access token and user profile
Was this page helpful?