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
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- Our Appwrite organization is suspended
Please give support regarding this , no app is working now , please solve my issue and give support , no one is replying in message section or email.
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...