Google Oauth: missing redirect url, appwrite flutter sdk sends wrong redirect URL
- 0
- Auth
- Flutter
![](https://cdn.discordapp.com/avatars/782527449203867668/50b7d470cdf77d7c871acf2426c9e2e9.webp)
I am doing Google Oauth in flutter app using Appwrite
My appwrite is selfhosted running locally on my laptop in a docker container. I had my reasons to tunnel it using Windows dev tunnels
I am attaching images of my configurations and errors,
this is my tunnel URL https://wtjf7zs9-5050.inc1.devtunnels.ms
I do not understand why the error is happening it used to work when i used ngrok for tunneling but then now it is not working, please help
But again in the error details we see the redirect url is localhost oriented so why is that ... that is why i am saying the client does not send the correct redirect url
![](https://cdn.discordapp.com/avatars/782527449203867668/50b7d470cdf77d7c871acf2426c9e2e9.webp)
Okay i moved a step further I just added whatever it said as the redirect url so it asked my login creds for google but then as the redirect was localhost it could not resolve itself
![](https://cdn.discordapp.com/avatars/782527449203867668/50b7d470cdf77d7c871acf2426c9e2e9.webp)
Why is the client sending the redirect url to be localhost when it has my endpoint as https://wtjf7zs9-5050.inc1.devtunnels.ms/v1
Recommended threads
- C# error while accessing Account from se...
Hi everyone I receive always this error: (role: applications) missing scope (public) help pls C# .net framework app try to login while trying to access Accou...
- AppwriteException: general_unknown_origi...
Hii all <:KannaWave:657059003410677761> I'm trying to build an simple signup page with dart/flutter and appwrite.. So I'm using Android Studio. Added my flutte...
- Disallow personal data not working when ...
Hey, I'm running into an issue with the "disallow personal data in passwords" setting when resetting passwords through my Flutter app. I've enabled the option ...
![](/images/bgs/pre-footer.png)