
I'm trying to add google auth to my flutter app but I'm facing this error and I'm not able to find the solution anywhere
I don't think there is any problem with the code since it is redirecting to this page but maybe with Google Console

Google requiring you o provide a top private domain when using OAuth.
The best solution in your case would be to create some host for your IP Then add it to your Google OAuth consent screen.
And using mobile phone can make it a bit tricky if you're using you local environment. There are few solution but each is more complex the the previous one.
From what I can see your best option would be:
- Move it to some online server with Domain.
- Use Cloudflare tunnel for free and point an outside real domain to your local instance of Appwrite

P.s. You can use this answer https://stackoverflow.com/questions/41139087/i-cant-edit-android-emulators-host-file#answer-41144234 to edit the hosts file in your emulator.
Recommended threads
- Redirect URL sends HTTP instead of HTTPS...
I am not sure since when this issue is present, but my Google and Apple redirect URI are no longer pointing to the HTTPS redirect URI when I try to use OAuth. ...
- Failing to run document operations on sd...
Could someone point me in the right direction I'm going in cirlces. I have a problem with sdks and my self-hosted server in production (for ~3 years) I have bee...
- Functions fail to deploy after switching...
Hi <@1087889306208718959> , after switching my self-hosted Appwrite instance to use AWS S3 as the storage backend, my Cloud Functions stopped working. I’m runni...
