
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
- CORS error only on tables db api After u...
I've recently updated my self hosted appwrite instance to the 1.8.0 and updated my frontend with the tables db apis but strangely, even if I'm able to log in, g...
- Multiple Set-Cookie headers collapsed on...
Iβm deploying a Next.js 15 app to Appwrite β Deploy β Sites. In app/api/auth/login/route.ts I try to set 3 cookies. Variant A (manual headers): const headers ...
- session cookie not saving
it appears with my app hosted on Cloudflare worker pages, when i try to login it does not save the session cookie. however it saves in on localhost and no probl...
