I’m facing an issue when trying to use Google Sign-In with Auth0 + custom domain (auth.whosserver.com
). Everything works fine with username/password login, but as soon as I try Google login, I get the following error:
Error 400: redirect_uri_mismatch
I’m developing locally using Vite at http://localhost:5173
. In my Auth0 application settings, I’ve set the callback URL to:
http://localhost:5173/callback
This exact redirect URI is also added in the Google Cloud Console under my OAuth 2.0 Client ID settings as an Authorized redirect URI.
Despite this, I still get the same error. I’ve tried other variants as well, such as:
https://auth.whosserver.com/callback
https://auth.whosserver.com/login/callback
http://localhost:5173