
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
- Email Verification Email
Hi everyone, Iβm currently experiencing an issue with the email verification functionality. When I trigger the verification, the request returns a valid respon...
- Persistent 401 Unauthorized on all authe...
Hello, I'm facing a critical 401 Unauthorized error on my admin panel app and have exhausted all debugging options. The Problem: When my React app on localhos...
- Google Oauth help
this error pops up (TypeError: (0 , {imported module [project]/src/lib/auth.ts [app-rsc] (ecmascript)}.signIn) is not a function) but cant find a way to solve i...
