NextAuth is redirecting to http://localhost:3000/api/auth/signin?error=OAuthCallback page after authorizing Zoom account #11392
Unanswered
rishipatel2005
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have set up the zoom connect option in my website so that I can add zoom meeting functionality to my next.js website. I already have the sign in with Google option to authenticate the user, and once the user is authenticated I give them the option to connect their zoom account. But when I write the code in NextAuth to add the zoom authentication option it works fine, zoom asks for permission but once I give the permission and authenticate it, NextAuth redirects me to doamin.com instead of the account page.
My /api/[...nextauth] code:
/lib/authentication:
Button code in Next.js (with NextUI):
<Button onPress={() => signIn("zoom")}>Connect Zoom</Button>
Beta Was this translation helpful? Give feedback.
All reactions