ac-tool/backend/server
Vadym Samoilenko 8050a6a0f6 Add emergency token login as SSO bypass
When EMERGENCY_TOKEN is set in .env, a Bearer token matching it grants
admin access without going through Azure AD / MSAL. Useful when 2FA or
SSO is unavailable. Token is compared in constant-time to prevent timing
attacks. If EMERGENCY_TOKEN is empty (default), the feature is disabled.

Frontend: small "Emergency access" link on login page opens a token input.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 19:07:34 +00:00
..
api Fix voice recording and add Excel column mapping verification 2026-03-23 19:05:26 +00:00
auth Add emergency token login as SSO bypass 2026-03-23 19:07:34 +00:00
jobs Fix model config alignment and improve error messaging 2026-03-23 15:33:54 +00:00
runners Fix model config alignment and improve error messaging 2026-03-23 15:33:54 +00:00
sheets Add per-client category hierarchy, client management, and admin hardcoding 2026-03-23 18:56:01 +00:00
ws Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00
__init__.py Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00
app.py Add per-client category hierarchy, client management, and admin hardcoding 2026-03-23 18:56:01 +00:00
config_runtime.py Add emergency token login as SSO bypass 2026-03-23 19:07:34 +00:00