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
- Question: Best practices for implementin...
Hi everyone! I'm building an application that needs a multi-level hierarchy: Organizations → Teams → Users. I see that Appwrite provides a Teams service, but I...
- Having problems with Appwrite API keyAny...
Having problems with Auth as a result of the API key Anyone to help asap?
- Facing this Exception User (role: guests...
After creating an OAuth2 session using createOAuth2Session in Appwrite, the session is created successfully in the cloud console, but when I try to fetch user d...