首页/ AI 技能 / @skilllib/skill-2117939930272412520
Skill站外收录 @skilllib/skill-2117939930272412520

supabase-webhooks-events

提供对 Supabase 发送的 Webhook 事件的安全接收与处理能力,包括请求签名验证、事件类型分发、防重放攻击及幂等性保障,确保后端服务能可靠响应数据库变更通知。

0.0 (0) 46 次安装 原作者 编程导航
收录于 2026-01-22
软件开发 AI 技能

Skills.MD

# Supabase Webhooks Events ## Prerequisites - Supabase webhook secret configured - HTTPS endpoint accessible from internet - Understanding of cryptographic signatures - Redis or database for idempotency (optional) ## Instructions ### Step 1: Register Webhook Endpoint Configure your webhook URL in the Supabase dashboard. ### Step 2: Implement Signature Verification Use the signature verification code to validate incoming webhooks. ### Step 3: Handle Events Implement handlers for each event type your application needs. ### Step 4: Add Idempotency Prevent duplicate processing with event ID tracking. ## Output - Secure webhook endpoint - Signature validation enabled - Event handlers implemented - Replay attack protection active ## Error Handling See `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - [Supabase Webhooks Guide](https://supabase.com/docs/webhooks) - [Webhook Security Best Practices](https://supabase.com/docs/webhooks/security)

评论 0

还没有评论,来抢沙发。