Using self hosted gitpod instance i followed the docs for functions (https://appwrite.io/docs/advanced/self-hosting/functions). but after setting it up and trying to connect to github from appwrite dashboard just redirects me to github app settings
Summary
The user was experiencing issues with Git deployment redirects and nothing happening when trying to connect to GitHub from the Appwrite dashboard. They received an error message stating "Failed to obtain access token. The GitHub OAuth2 provider returned an error: Not Found" and noticed an error in the Docker logs for the Appwrite container. They tried uninstalling and reinstalling the GitHub app but it did not resolve the issue.
The solution to the problem was to make sure the callback URLs matched the documentation. Additionally, the user needed to switch from "All repositories" to "Only select repositories" and then back to "All repositories" and click save. After
Cossale
Rank 2: Process
Oct 4, 2023, 17:56
Git deployment redirects and nothing happens
Cossale
Rank 2: Process
Oct 4, 2023, 17:57
it gives me option to configure
Cossale
Rank 2: Process
Oct 4, 2023, 17:57
but i have given every perms
Cossale
Rank 2: Process
Oct 4, 2023, 17:58
i tried uninstalling and installing github app again with no success
Drake
Oct 5, 2023, 01:16
Click on configure
Drake
Oct 5, 2023, 01:16
then switch from All repositories to Only select repositories and then back to All repositories. Then, click Save
Drake
Oct 5, 2023, 01:17
You should, then, be redirected back to Appwrite
Cossale
Rank 2: Process
Oct 5, 2023, 12:27
it does but it does not connect to github
Cossale
Rank 2: Process
Oct 5, 2023, 12:27
Cossale
Rank 2: Process
Oct 5, 2023, 12:27
it just redirects back
Drake
Oct 5, 2023, 12:28
Any errors in the docker logs for the appwrite container?
Cossale
Rank 2: Process
Oct 5, 2023, 12:29
appwrite | [Error] Timestamp: 2023-10-05T12:28:55+00:00
appwrite | [Error] Method: GET
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: 488