Set session after custom email verification #2537
Unanswered
davshoward
asked this question in
Help
Replies: 1 comment 4 replies
-
If you mean to forward that data to the client, check out the jwt and session callbacks https://next-auth.js.org/configuration/callbacks |
Beta Was this translation helpful? Give feedback.
4 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.
-
I've got Next Auth setup and configured (all working well) with the Credentials provider as we have a custom API to manage login.
However, I'm trying to find a way to automatically login a user when we return an object with user data and token (same one that is set in the authorize call:
Is this possible? If so, how?
Cheers
Beta Was this translation helpful? Give feedback.
All reactions