Custom Session Data #1055
-
I'm trying to add more Data into the Session when a User logs in. I already tried exposing the data I need during Signup and also tried to edit the data of the JWT as well. So I'm curious if there's a way to properly add more Data, like |
Beta Was this translation helpful? Give feedback.
Answered by
balazsorban44
Jan 7, 2021
Replies: 1 comment 3 replies
-
Please read the documentation first. You can use the |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
fangmarks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please read the documentation first.
You can use the
jwt
andsession
callbacks to add any data to your session.https://next-auth.js.org/configuration/callbacks