also webhook secret is set
and you checked the Redirect on update box under the Post installation section?
ohh it was checked, i unchecked it and now it doesn't redirect or anything anymore. it shows "app was updated for account" in github but in the console it still shows github and clicking it brings me to the github app page
its the same if i select a repository or all repositories
It should be checked
but leave the setup url empty?
What URL?
this setup url
Blank.
Was it blank before?
yes it was but the redirect on update was checked, that was when it used to redirect to the 404 github page
I have the same issue. Documentation says: "Check the Redirect on update box under the Post installation section."
If i do this then Github tries to redirect after successful installation to: https://[Domain]/console/project-[Project-ID]/functions?from=github&to=cover but fails and finally shows the 404 URL SenZi was posting.
which has nothing to do with the callback links defined a bit higher.
It fails with 404 to redirect back.
under this, there's a "Request user authorization..." checkbox. would you please check that and try again?
also, you set the permissions as such right: https://appwrite.io/docs/configuration#repository-permission
@khushbooverma any idea why a user would be redirected to this?
yes the permissions are set exactly as mentioned
@SenZi make sure to do this
I checked the "Request authorisation ...".
Now there is a redirect and it shows the wollowing on the Appwrite side:
Error 500 Signing key cannot be empty Type general_unknown
but it is now using the first callback link: http://[HOSTNAME_OR_IP]/v1/vcs/github/callback
Logs
Sorry this log was just when i refreshed the same url.
This is the log i get when i get redirected to appwrite instance from github
Issue Solved!
_APP_VCS_GITHUB_PRIVATE_KEY= needed the entire contents in the private-key.pem file, including the new line and double quotes.
https://discord.com/channels/564160730845151244/1147235730599460915/1147283157251538954
Recommended threads
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- Functions in cloud console not works
please advise as all of my runing functions on Appwrite console was working before , but now it give this error [Invalid `headers` param: Value must be a valid...
- [SOLVED] Production down - createExecuti...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...