Hi all, I have a problem with the Google Auth provider. I have followed the Appwrite guidelines but I get this error when I try to authenticate.
@SpencerSama can you show exactly what redirect URI is added to your Google Console?
Also, if you're self-hosting, please make sure that your hostname matches in your test environment and on the Google Developer Console
localhost and 127.0.0.1 can cause a mismatch too, even though they do point to the same application
They are the same
Can you share a screenshot once?
Sure, Appwrite or google cloud?
Both, if that's okay?
Sure
Voila
Problem solved. In fact, I had to add my http and https uri.
Thanks for your help 🙏
Ah perfect!
[SOLVED} Google Auth (redirect url mismatch)
I am getting this issue again
I am not sure why it happened, It was working fine when it was in appwrite cloud, I self hosted it and then it fails
Recommended threads
- Status 400 on oauth
Hello, I am getting status 400 on oauth login via google (redirect_uri_mismatch), same with Apple oauth. Is there any issues with oauth authorization currently...
- redirect_uri errors on flutter client
Hi all, I'm using the flutter client for my app to do appwrite auth and use the JWTs to send to my backend. When I try to sign in with SSO, I get this: https:/...
- Request for JWKS Endpoint and OIDC Disco...
Hey Appwrite Team, Do you have plans to support JWKS and a well-known OIDC discovery endpoint? This would let us verify Appwrite JWTs in other services using st...