JWT user missing values after logging in #5269
Unanswered
DennisSpek
asked this question in
Help
Replies: 1 comment
-
Just a quickl followup on this question in the hopes someone knows the answer; I also noticed that when I use getToken, the sub key within the object contains the same string as I have assigned to the user I am trying to log in. |
Beta Was this translation helpful? Give feedback.
0 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.
-
Question 💬
I ran into some issues regarding the JWT user being null after a succesfull login.
Did some debugging in the callbacks and saw the following:
I read through the docs and noticed that the correct callback flow would be: signin -> JWT -> Session.
It is possible to return the user object found within the signIn callback, but this is not getting passed into the JWT callback.
Due to the fact that some properties like isNewUser are filled in correctly, could the missing user info be related to a DB issue?
What are some things I could further check in the hopes of solving this issue?
How to reproduce ☕️
Not available
Contributing 🙌🏽
No, I am afraid I cannot help regarding this
Beta Was this translation helpful? Give feedback.
All reactions