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
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 NEXT Auth2.0 for my web project,and when i want to sign in with google,i get this error.
This is my auth.js:
And this is route.js in app\api\auth[...nextauth]\route.js
I'm pretty sure my .env.local is correct,but when i try to visit http://localhost:3000/api/auth/signin/goole ,it turns out server error.I have also configured the callback URL:http://localhost:3000/api/auth/callback/google
what can i do to fix it?I have looked every document,still can't work out💔
Beta Was this translation helpful? Give feedback.
All reactions