-
This is what I get from magic link Sign In (EmailProvider) within jwt callback: async jwt({ token, account, user })....
while for login via any social provider, I get access token:
Am I missing something? How to get access_token from EmailProvider? I am using JWT instead of DB. |
Beta Was this translation helpful? Give feedback.
Answered by
goranefbl
Feb 10, 2022
Replies: 1 comment
-
I think I got this wrong, I don't need access_token in sessions at all, this is not the jwt saved in a cookie but access_token from oauth. My bad. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
balazsorban44
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think I got this wrong, I don't need access_token in sessions at all, this is not the jwt saved in a cookie but access_token from oauth. My bad.