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
- CORS error only on tables db api After u...
I've recently updated my self hosted appwrite instance to the 1.8.0 and updated my frontend with the tables db apis but strangely, even if I'm able to log in, g...
- Multiple Set-Cookie headers collapsed on...
I’m deploying a Next.js 15 app to Appwrite → Deploy → Sites. In app/api/auth/login/route.ts I try to set 3 cookies. Variant A (manual headers): const headers ...
- session cookie not saving
it appears with my app hosted on Cloudflare worker pages, when i try to login it does not save the session cookie. however it saves in on localhost and no probl...