feat(saas): Add maintenance mode via webhook #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/maintenance-mode"
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?
Add webhook endpoint at /webhooks/maintenance that receives HMAC-SHA256
signed payloads from the parent SaaS app to toggle maintenance mode.
When active, non-admin users get 503 responses (JSON for API routes,
HTML maintenance page for other routes). Admin users and allowlisted
paths (/health, /api/config, /api/version, static assets, webhooks)
always pass through.
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com