
Im currently trying to use the Discord Oauth but i cant find a way to make it work. I followed the docs and set up the discord oauth application and enabled it in appwrite auth.
using the example provided in the docs
await account.createOAuth2Session(
provider: OAuthProvider.discord,
scopes: ['identify'],
);
throws the ArgumentError 'Callback url scheme must start with http://localhost:{port}'
providing a succsess and failure url
await account.createOAuth2Session(
provider: OAuthProvider.discord,
success: 'http://localhost:3000',
failure: 'http://localhost:3000',
scopes: ['identify'],
);
results in an invalid OAuth2 Response. Key and Secret not available. This is because the return value is just the success url "http://localhost:3000" the user gets acually created but i dont have a valid user session
Platform: Windows Appwrite Version: 1.6.1
Recommended threads
- console messaging - Error 500
Hello, on my self hosted instance (1.6.0) after I tried to use the messaging feature and press "send" for a test message, I get "Error 500" for the messaging t...
- Selfhosting problem
I'm migrating from cloud to self-hosted. I tried using 'Export to self-hosted instance' and use my free Ngrok domain as Endpoint self-hosted instance, but I got...
- Direct Upgrade from Appwrite v1.5.11 to ...
I'm on Appwrite v1.5.11. Can I upgrade directly to v1.6.2?
