You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(design): tighten auth/session/csrf/role-config per review
Addresses round-5 review feedback:
- CodeRabbit (MD040): add `text` language tag to ASCII-diagram and
login-flow fenced code blocks so markdownlint passes.
- CodeRabbit (minor): list POST /admin/api/v1/auth/login and
/auth/logout in the Section 4.1 endpoint contract table so the
admin API shape stays complete.
- CodeRabbit (major) + codex P2: remove the localStorage CSRF scheme
(XSS-exposed) and adopt double-submit cookie with Secure + SameSite=Strict;
pair with a same-origin session cookie that is always HttpOnly + Secure
+ SameSite=Strict regardless of TLS mode.
- codex P2: make overlap between admin.read_only_access_keys and
admin.full_access_keys a hard startup failure rather than an
implementation-order-dependent silent fallback.
0 commit comments