Replies: 2 comments
-
What was your solution about this? I have same questions about the implementation |
Beta Was this translation helpful? Give feedback.
0 replies
-
if you have found the approach please help .. |
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
-
Hi Team i have an exisitng app written in reactjs and a backend which is in spring boot.
My backend basically take care of oauth2 user creation, saving to database and finally returning token to frontend.
Recently we switch to nextjs and wanted to include the next-auth. so the requirement is -
when i click on "Login with Google" button => and after authenticate with google => After that it should hit my backend where i can resume my exiting user creation and saving and finally create a token and send it back to frontend and manage my session through nextjs.
I know i can save user in my callback but then i am not sure how to get token from my api.
**Behaviour -
React App
Nextjs with nextauth
is there any way to change this behaviour ?
Beta Was this translation helpful? Give feedback.
All reactions