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've been trying to add Google OAuth to my project using the sample code provided in the readme and the example app.
I have created appAuth, as well as the needed Google ID and secret.
When logging in, I get correctly redirected to the google account picker page. But after choosing an account, I get this error when being redirected to the callback:
Just to be sure, I have not configured a /api/auth/callback/google route (I assume the api/auth/[...auth].ts route handles it?).
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
-
Hi there
I've been trying to add Google OAuth to my project using the sample code provided in the readme and the example app.
I have created appAuth, as well as the needed Google ID and secret.
When logging in, I get correctly redirected to the google account picker page. But after choosing an account, I get this error when being redirected to the callback:
Just to be sure, I have not configured a
/api/auth/callback/google
route (I assume theapi/auth/[...auth].ts
route handles it?).Any help would really be appreciated, thanks :)
Beta Was this translation helpful? Give feedback.
All reactions