
After authorizing github it successfully redirects me back to the appwrite console but I receive the below error and nothing happens in the console.
appwrite | [Error] URL: /v1/account/sessions/oauth2/:provider/redirect
appwrite | [Error] Type: Appwrite\Extend\Exception
appwrite | [Error] Message: Failed to obtain access token. The GitHub OAuth2 provider returned an error: Not Found
appwrite | [Error] File: /usr/src/code/app/controllers/api/account.php
appwrite | [Error] Line: 487
Version 1.4.3

Something may be misconfigured....did you set up the callbacks in the same order as mentioned in the docs?

The callbacks were in reverse order, I flipped them and now it's working. Thank you for help 🙂

[SOLVED] Error: "Failed to obtain access token" when authorizing github
Recommended threads
- No mails from Appwrite
Hello, Since severals days, i have a problem : i d'ont received any mails from Appwrite. I'm using the auth by mail and i don't any code so any mails from App...
- Appwrite Education program
I have applied for the GitHub Student Developer Pack and it was approved so that i can be eligible for the Appwrite Education program in Appwrite BUT it is sh...
- Relationships restricted to a max depth ...
When I do query like: ``` await _databases.listDocuments( databaseId: AppwriteConfig.DATABASE_ID, collectionId: AppwriteConfig.SERVICES_COLLECTI...
