We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 869010e commit c2ed232Copy full SHA for c2ed232
app.py
@@ -61,6 +61,11 @@ def github_webhook():
61
logger.info(f"Received signature: {signature}")
62
63
# 2. Server verifies if signature is from GitHub
64
+
65
+ if not signature:
66
+ logger.error("No signature provided")
67
+ return jsonify({"error": "No signature provided"}), 401
68
69
if not verify_signature(request.data, signature):
70
logger.error("Signature verification failed")
71
return jsonify({"error": "Unauthorized"}), 401
0 commit comments