Google Oauth: missing redirect url, appwrite flutter sdk sends wrong redirect URL
- 0
- Auth
- Flutter

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

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

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
- Struggling with Sessions
Understanding check: createAnonymousSession() registers the session with the backend setSession() creates a cookie on the user’s computer(?) getSession(‘curr...
- How to set wildcard at custom doamin
For OAuth2 redirect, I have set the appwrite api endpoint as appwrite.example.com, and added the CANME in cloudfare where I bought the domain name. And I hosted...
- I don't know why i am getting this plan ...
I am getting this plan upgradation message while accessing the App write service to authorise and logiin and signUp new iuser fom my react website. in the porta...
