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
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...