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
Git deployment redirects and nothing happens
it gives me option to configure
but i have given every perms
i tried uninstalling and installing github app again with no success
Click on configure
then switch from All repositories to Only select repositories and then back to All repositories. Then, click Save
You should, then, be redirected back to Appwrite
it does but it does not connect to github
it just redirects back
Any errors in the docker logs for the appwrite container?
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
Weird...what's your GitHub app settings?
Please make sure the callback URLs match the docs in the same order: https://appwrite.io/docs/advanced/self-hosting/functions#callback
absolute wild. how did i missed that???? THANKSSSS
[SOLVED] Git deployment redirects and nothing happens
Recommended threads
- Password check in function
Hi, is there any way now for checking if the users password is correct in a function? I am creating a delete user function and before deleting I would like to c...
- Invalid document structure: Unknown attr...
Environment: Dart version: 3.5.1 dart_appwrite: 13.0.0 I’ve already created the database structure using a Dart function. I can create data records using cloud...
- open runtime version lacks behind
open runtime version in appwrite CLI is v4 while the hosted runtimes use v5, this mismatch does not permit to debug locally functions using recent runtimes (li...