Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions server/src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,11 +435,13 @@ export class HTTPServer {
// - Stripe webhooks: need raw body for webhook signature verification
// - Resend inbound webhooks: need raw body for Svix signature verification
// - WorkOS webhooks: need raw body for WorkOS signature verification
// - Zoom webhooks: need raw body for Zoom signature verification
// - Slack routes: need raw body for Slack signature verification
// (both JSON for events and URL-encoded for commands)
if (req.path === '/api/webhooks/stripe' ||
req.path === '/api/webhooks/resend-inbound' ||
req.path === '/api/webhooks/workos' ||
req.path === '/api/webhooks/zoom' ||
req.path.startsWith('/api/slack/')) {
next();
} else {
Expand Down
Loading