
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
- Functions rate limit
Is there a way to remove function rate limit for specific users? "2025-06-01T08:45:26.143734953Z [Error] Method: POST 2025-06-01T08:45:26.143738753Z [Error] UR...
- Can't create a function. The user interf...
I am trying to create a server-side function. I am on the free tier. **I already have three functions that work properly** that I created a few months ago. Now,...
- 1.6 to 1.7 does not work
Appwrite (self-hosted) stopped working after updating from 1.6.2 that was stable. Getting the general_server_error. Mentioning I fallowed all steps for upgrad...
