You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using NextAuth with Google as the provider for users to login for my application. During development on localhost:3000, I have no issues logging in. However, when I try to login as a user after deploying on Vercel, I get the following error:
So, I checked the function logs as suggested and I see that it timed out during a GET request to /api/auth/callback/google...
I've checked my redirect URI's in Google Cloud Console.
If this helps at all, here are pictures of Network tab of the GET requests during development(1st pic) vs production (2nd pic) :
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using NextAuth with Google as the provider for users to login for my application. During development on localhost:3000, I have no issues logging in. However, when I try to login as a user after deploying on Vercel, I get the following error:
So, I checked the function logs as suggested and I see that it timed out during a GET request to /api/auth/callback/google...
I've checked my redirect URI's in Google Cloud Console.
If this helps at all, here are pictures of Network tab of the GET requests during development(1st pic) vs production (2nd pic) :
I would greatly appreciate any help or feedback!
Beta Was this translation helpful? Give feedback.
All reactions