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
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- Compatibility issue with Kakao OpenID Co...
**Context:** I am attempting to integrate **Kakao Login** (one of the largest social login providers in South Korea) into my Flutter application using Appwrite'...
- [SOLVED] Appwrite 25.1.0 returns Invalid...
I've already opened an issue on GitHub, but somewhat it doesn't seem like GitHub is monitored very closely, so I'm leaving a bug report here on Discord as well....