Replies: 1 comment
-
check the docs https://next-auth.js.org/configuration/callbacks#jwt-callback https://next-auth.js.org/configuration/callbacks#session-callback |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Your question
How do I receive User instance with all custom attributes and related entities via TypeORM on the server side? I am using custom User model with extra attributes and relations. getSession returns very limited set of data
What are you trying to do
Get all User data stored in DB
Reproduction
getSession({req})
returns only this:Feedback
Documentation refers to searching through online documentation, code comments and issue history. The example project refers to next-auth-example.
Beta Was this translation helpful? Give feedback.
All reactions