fix(zoom): return error string when webhook signing secret is missing - #566
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
📝 WalkthroughWalkthroughZoom webhook signature verification now returns a configuration error when no signing secret is provided. A test verifies the ChangesZoom webhook verification
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Comment |
Greptile SummaryThe PR makes Zoom’s missing-signing-secret response consistent with other signature-verification failures.
Confidence Score: 4/5The PR appears safe to merge, with only a non-blocking documentation issue around the test fixture’s broad payload type. The runtime change preserves the existing invalid result and additively supplies the intended error message; the only accepted concern is an unexplained Files Needing Attention: packages/zoom/webhooks/types.test.ts Important Files Changed
Reviews (1): Last reviewed commit: "fix(zoom): return error string when webh..." | Re-trigger Greptile |
|
Hey @Dhirenderchoudhary , the Plugin PR Gate check is failing for a reason unrelated to this PR's changes. From the job log, the gate script tries to post a scorecard comment via gh api, but PRs from forks get a read only GITHUB_TOKEN, so the POST fails with 403 Resource not accessible by integration. The script currently treats that as a fatal error and exits non-zero, which fails the whole gate. This should affect any fork based PR, not just this one. The fix would live in |
|
LGTM for #520. |
…missing-secret-error-520
|
Thanks @Dhirenderchoudhary Fixed both |

Description
Fixes #520. Zoom's webhook signature verification (
verifyZoomWebhookSignatureinpackages/zoom/webhooks/types.ts) already returned{ valid: false }when the signing secret was missing, but unlike Slack/Zendesk it omitted theerrorfield. This brings Zoom in line with that pattern:Added a unit test covering this branch in
packages/zoom/webhooks/types.test.ts.Checklist
pnpm lintand all checks pass (3 pre-existing warnings in unrelated files, no errors)pnpm typecheckand there are no TypeScript errorspnpm buildand all packages build successfully (packages/zoombuilds cleanly; a handful of unrelated plugin packages fail on Windows due to a pre-existingrm -rfUnix-only build script, unaffected by this change)pnpm testand all tests pass (new test inpackages/zoom/webhooks/types.test.tspasses; the pre-existingapi.test.tsintegration test and a few unrelated plugin packages require live API credentials not available locally)Screenshots / Demos (if applicable)
Screen.Recording.2026-08-03.182313.mp4
Additional Notes
Not a breaking change — only adds a field to an already-optional
error?: stringproperty on the return type. Existing callers checkingresult.validare unaffected.Summary by CodeRabbit