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
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...