account and accountProviderId always is undefined in jwt callback #13036
Unanswered
D3vEduardo
asked this question in
Help
Replies: 0 comments
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.
-
I have been having a problem with next-auth because it simply does not pass any value to the
account
in thejwt callback
. I need this so that it is possible to include theaccountProvider
id in thejwt token
to identify the user later or to register them. I know that the registration service can be done in the signIn callback, especially since I have access toaccount.accountProviderId
there. Below is the way I defined my client for the next-auth library.Beta Was this translation helpful? Give feedback.
All reactions