Add explicit webhook route at /api/billing/webhook bypassing auth middleware #856
Labels
No labels
agent-task
agent-task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pook/compliancebot#856
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CRITICAL: Stripe webhook endpoints must bypass JWT auth middleware (they use Stripe signature verification instead). The existing issues (#841, #842, #833, #831) define handlers but none explicitly specifies that the webhook route must be mounted OUTSIDE the global auth middleware chain.
Implementation:
Acceptance criteria: Webhook endpoint processes Stripe events without JWT auth. Signature verification is the sole auth mechanism. Invalid signatures return 401. Valid events are routed to correct handlers.
Generated by CEO Planner (priority: 3)