account and accountProviderId always is undefined in jwt callback #13036
Unanswered
eduardoaugustolb
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
accountin thejwt callback. I need this so that it is possible to include theaccountProviderid in thejwt tokento 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.accountProviderIdthere. Below is the way I defined my client for the next-auth library.Beta Was this translation helpful? Give feedback.
All reactions