feat(saas): Add maintenance mode via webhook #8

Merged
nrupard merged 1 commit from feat/maintenance-mode into main 2026-03-12 20:52:28 +01:00
Member

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

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>
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>
David deleted branch feat/maintenance-mode 2026-03-15 02:34:15 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
a8n-tools/rus!8
No description provided.