Data fetching and passing jwt from next-auth #8959
Unanswered
AndonMitev
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
-
Summary
Hello i do have custom backend ( nestjs ) that handles my api calls, I have managed to integrate next-auth and store my accessToken there and everything works good. After I continue building custom api calls like update-password and so on. How ever i need to get the token from next-auth and pass it as a Authorization header.
I have came up with this solution:
but the problem is that i'm really not sure how to grab the token from next-auth and pass it, how to handle such scenario or i'm doing something completly wrong
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions