NextAuth Callbacks not working !!!!
Unanswered
madbouy posted this in #help-forum
madbouyOP
Hi @all,
Have someone face this issue with nextauth?
Token return null for all providers, any logs appears from my callbacks
Have someone face this issue with nextauth?
Token return null for all providers, any logs appears from my callbacks
8 Replies
madbouyOP
adapter, no
I just follow the official documentation of next js, adding providers etc...
Have you tried checking token from the session callback?
Session callback gets called AFTER the jwt callback
Also everything other than the token will be empty on subsequent sign in attempts. Meaning user etc only gets passed the first time user logs in
@Clown Also everything other than the token will be empty on subsequent sign in attempts. Meaning user etc only gets passed the first time user logs in
madbouyOP
I have tried, same behavior...only the redirect callback is printing logs
@Clown Also everything other than the token will be empty on subsequent sign in attempts. Meaning user etc only gets passed the first time user logs in
madbouyOP
so how can I get user infos even it is not the first login