openclaw/docs/automation
Bradley Priest 920551ae70 feat(hooks): support custom verifyAuth in transform modules
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 external webhook signature verification
(GitHub, Stripe, Linear, etc.).

Changes:
- hooks.ts: Add verifyAndParseWebhook() with custom/token auth paths
- hooks-mapping.ts: Add HookVerifyAuthContext type, loadVerifyAuth()
- server-http.ts: Use verifyAndParseWebhook() for cleaner auth flow
- webhook.md: Document verifyAuth with GitHub example
- Tests for verifyAndParseWebhook and loadVerifyAuth
2026-01-30 12:45:05 +13:00
..
auth-monitoring.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
cron-jobs.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
cron-vs-heartbeat.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
gmail-pubsub.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
poll.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
webhook.md feat(hooks): support custom verifyAuth in transform modules 2026-01-30 12:45:05 +13:00