Next.js Discord

Discord Forum

NextJs + NextAuth Issue

So i am using nextjs and nextauth for google authentication currently using the custom jwt logic for my backend on nodejs. so using jwt and session callbacks along with redirect but if my backend takes time to respond then the jwt and session are getting exec but the redirect is called and the access token is not put in session still it goes tothe dashboard page which is wrong and is giving me problem how do i resolve this?
Answered by 💥ʀʊɖʀǟ💥
hey thanks the issue is resolved seems like there was some issue with my backend delayed response.
View full answer

2 Replies

American Chinchilla
How are you calling the backend?
@American Chinchilla How are you calling the backend?
hey thanks the issue is resolved seems like there was some issue with my backend delayed response.
Answer