
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
- How can I use react-native-appwrite in a...
I'm building an app using React Native CLI (not Expo), and I want to add Google Sign-In authentication. However, when I try to use react-native-appwrite, it thr...
- Error: Invalid `userId` param: Parameter...
- email verification error??
Hey, I'm trying email verificacion with this signup implementation using deep links on iOS, but when creating the account I get this exception: Exception: Erro...
