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
- Auth broken after update from 1.8.0 to 1...
So ive been having issues creating, deleting or updating users on my appwrite instance after i updated from 1.8.0 to version 1.9.0. When trying to create a user...
- Magic Link woes/noob
Magic Link is working; it sends the link to my email. But the link itself always leads to "Page Not Found. The page you're looking for doesn't exist". Clicking ...
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...