Skip to content
Discussion options

You must be logged in to vote

Without defining an adapter, next-auth defaults to store user data in a JWT in a session cookie.

Check out one of our database adapters https://next-auth.js.org/adapters/overview or create your own!

To control what gets sent to the client, check the session callback: https://next-auth.js.org/configuration/callbacks#session-callback

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@lumenwrites
Comment options

@balazsorban44
Comment options

@lumenwrites
Comment options

@balazsorban44
Comment options

@lumenwrites
Comment options

Answer selected by lumenwrites
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