8000
🐛 Bug Report: Appwrite should skip signature validation if_APP_VCS_GITHUB_WEBHOOK_SECRET is empty #6112
Closed
2 tasks done
Labels
Milestone
👟 Reproduction steps
_APP_VCS_GITHUB_WEBHOOK_SECRET
env var empty in Appwrite and the Webhook secret blank in github👍 Expected behavior
The webhook works to trigger appwrite
👎 Actual Behavior
Error:
It seems when you leave it blank, the
x-hub-signature-256
header from GitHub is blank, so, this line:appwrite/app/controllers/api/vcs.php
Line 791 in aced75f
ends up being:
which means this line:
returns false.
🎲 Appwrite version
Version 1.4.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: