-
Notifications
You must be signed in to change notification settings - Fork 430
Closed
Description
Checklist
- The issue can be reproduced in the nextjs-auth0 sample app (or N/A).
- I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
In version 2.7, user in session has role, but in version 4.1 don't have.


Reproduction
const session = await auth0.getSession(ctx.req)
console.log(session)
Additional context
No response
nextjs-auth0 version
4.1
Next.js version
15.1.7
Node.js version
22.14
manskron
Metadata
Metadata
Assignees
Labels
No labels