PhoinexOriginal post
Rank 1: Thread
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
Summary
User experienced an error "Failed to obtain access token" when authorizing GitHub on appwrite. User resolved the issue by flipping the callbacks in the correct order. It is suggested to check if the callbacks were set up in the same order as mentioned in the documentation.