Add ability for hook mapping transform modules to export a verifyAuth function for custom authentication (e.g., GitHub HMAC signatures). When a transform module exports verifyAuth, it runs BEFORE standard token auth. This enables: - GitHub webhook signature verification - Stripe webhook signature verification - Any external service with custom auth schemes Changes: - hooks.ts: Split readJsonBody into readRawBody + parseJsonBody - hooks-mapping.ts: Add HookVerifyAuthContext type, findMappingVerifyAuth() - server-http.ts: Check for custom auth before token auth - webhook.md: Document verifyAuth with GitHub example Closes: discussion about GitHub webhooks |
||
|---|---|---|
| .. | ||
| auth-monitoring.md | ||
| cron-jobs.md | ||
| cron-vs-heartbeat.md | ||
| gmail-pubsub.md | ||
| poll.md | ||
| webhook.md | ||