I am attempting to integrate with Discord's OAuth. So far I have;
- Created a Discord app and added my Appwrite's project redirect URI
- I enabled Discord OAuth in Appwrite Auth and provided the App ID and App Secret
- When I attempt to call the
createOAuth2Sessionit works in the sense that I reach the Discord OAuth confirmation page and I clickAuthorise - Once I get redirected back to my app (
http://localhost:3000), I get the following error:
{"message":"Failed to obtain access token. The Discord OAuth2 provider returned an error: invalid_client: No description","type":"user_oauth2_unauthorized","code":401}
I'm not sure I understand where the problem seems to be and invalid_client lacking description makes it harder to debug.
A side effect I noticed on the Appwrite Cloud platform is that when I try to "Edit" the Discord OAuth2 settings in the modal, the App ID flickers for a second and the input field assumes my Appwrite Cloud email instead of the supplied App ID.
Recommended threads
- Fulltext index creation fails due to Inn...
I'm running a self-hosted Appwrite 1.8.1 instance and encountering an issue when creating fulltext indexes on a collection. **The Problem:** Fulltext index cre...
- Function Building show 500 Error
Region: sfo Temple: Starter Function Runtime: Nodejs 22 What happened? Before 2 minutes it show ‘server error.","code":500,"version":"0.7.24"}’ after it show c...
- Clarification about `Content` in terms a...
Hello, I'm looking into using Appwrite's cloud storage and got a bit concerned about this part in the terms page: https://appwrite.io/terms#content > Our Serv...