We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In version 2.7, user in session has role, but in version 4.1 don't have.
const session = await auth0.getSession(ctx.req) console.log(session)
No response
4.1
15.1.7
22.14
The text was updated successfully, but these errors were encountered:
You'll have to manually copy that claim over via the beforeSessionSaved hook: https://github.com/auth0/nextjs-auth0/blob/main/EXAMPLES.md#id-token-claims-and-the-user-object
beforeSessionSaved
Sorry, something went wrong.
Hi @seanparmelee , Thank you very much. I can get user role now.
No branches or pull requests
Checklist
Description
In version 2.7, user in session has role, but in version 4.1 don't have.
Reproduction
Additional context
No response
nextjs-auth0 version
4.1
Next.js version
15.1.7
Node.js version
22.14
The text was updated successfully, but these errors were encountered: