Skip to content
Discussion options

You must be logged in to vote

Yes, by default, a user in session contains only name, email and image properties. The session also has expires property. It's not a bug, and its documented here: https://next-auth.js.org/configuration/callbacks#session-callback
How to accomplish what you are trying to do is explained in this discussion: #2762 (reply in thread)

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by balazsorban44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #3416 on December 11, 2021 11:33.