Redirecting Users to Dynamic Stripe Payment Link After GitHub Authentication with NextAuth #12233
Unanswered
sasha-korovkina
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
-
I'm trying to redirect users to a dynamic payment link (generated by Stripe and stored in Local Storage) after they authenticate with GitHub using NextAuth.
Here's the current code I'm using:
I have implemented the following solution for credential-based login:
What is the best way to implement this redirection to the Stripe payment link after GitHub authentication with NextAuth? Is there a more effective way to handle this use case?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions