How to prevent next-auth to exchange code for token (google provider) #7939
Unanswered
ValGeorgiev
asked this question in
Help
Replies: 1 comment 2 replies
-
Did you end up using another library? Facing the same issue here. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I am wondering if it's possible to prevent next-auth to exchange code for token with google.
Currently the next auth is executing the whole flow. But I am wondering if I can prevent the "Exchange code for token" step, so I can use the "code" and send it to our external API where they can verify the code with google and continue with the flow.
Beta Was this translation helpful? Give feedback.
All reactions