
I have been trying to login via google on my flutter app running on windows. The redirect URI is correct in URL state as well as in my code. But I still get
Missing redirect URL
Your OAuth login flow is missing a proper redirect URL. Please check the OAuth docs and send request for new session with a valid callback URL.
This is my flutter code
var _codeListenerServer = await HttpServer.bind('localhost', 0);
print('Listening on localhost:${_codeListenerServer.port}');
_account.createOAuth2Session(provider: "google",success: "http://localhost:${_codeListenerServer.port}/auth/oauth2/success");
I also tired it without the HttpServer.
Edit : Using appwrite cloud and Flutter SDK version 11.0.1 tried it with higher 12.0.1 version as well facing the same problem
Recommended threads
- Requests for listing documents are rando...
Using an iOS app generated with Capacitor, the requests for listing documents are slow in some ocassions. SOmetimes they are very fast, sometimes they are very ...
- Appwrite CLI can't create TABLE"
hello everyone, i'm trying to create tables via the cli but its not working, it keep saying `NO TABLEs FOUND`, here are my json structure **profile.json** ```{...
- Flutter docs
Flutter documentation is so bad, the api is for web version and you dont support self host, also you can't find anything, for now im staying with supabase, your...
