JamyOriginal post
Rank 2: Process
Hello everyone,
I'm trying to enable Google & Discord authentification with Flutter. I read all the thread about it, but still don't understand why it is not working on my side.
- I have enable the provider in the console
- I think I have set up everything on Discord & Console Side (App ID, App Secret, Callback URI)
- But I have a "Redirect Uri Mismatch" error when I call : await account.createOAuth2Session(provider: OAuthProvider.discord,)
I use Cloudflare as reverse proxy, and HTTPS is enabled. It seems the error come from here.
While trying to fix this issue, another one happened : now, I have Error 412 : project_provider_disabled.
I took down then up the docker, I enabled/disabled the provider in the console, but having this issue.. Any idea ?
Appwrite SDK for Flutter version : 12.0.4
Appwrite docker version : 1.5.7
Summary
- Developer experiencing "redirect uri mismatch" error with Google & Discord OAuth integration in Flutter
- Enabled provider in console, set up Discord & Console Side (App ID, App Secret, Callback URI)
- Error occurs when calling await account.createOAuth2Session(provider: OAuthProvider.discord)
- Using Cloudflare as reverse proxy with HTTPS enabled
- Also facing Error 412: project_provider_disabled after trying to fix initial issue
- Flutter SDK version: 12.0.4, Appwrite docker version: 1.5.7