Skip to content
Discussion options

You must be logged in to vote

we don't expose the raw token to the frontend, but you can read it on the backend using getToken({ raw: true })

https://next-auth.js.org/configuration/options#jwt-helper

Also, you cannot modify the session directly from the client, since the session is saved in an HttpOnly cookie.

There is a discussion on #2269 to make updating the session easier

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LeoBorai
Comment options

Answer selected by LeoBorai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants