Modify Session Object Value ? #2163
Unanswered
sushilbalami
asked this question in
Help
Replies: 1 comment 2 replies
-
https://next-auth.js.org/configuration/callbacks#session-callback |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Can I modify the session object?
I am using credentials provider so.., I am authenticating with a custom database so
although I put this obj
this returns
on getSession({req});
so any way to add custom key-value or custom value on session obj?
Beta Was this translation helpful? Give feedback.
All reactions