Skip to content

docs(auth): document ADR-0069 enterprise auth hardening + SAML SSO#2405

Merged
os-zhuang merged 1 commit into
mainfrom
docs/adr-0069-auth-guides
Jun 27, 2026
Merged

docs(auth): document ADR-0069 enterprise auth hardening + SAML SSO#2405
os-zhuang merged 1 commit into
mainfrom
docs/adr-0069-auth-guides

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

What

The hand-written authentication guides predated ADR-0069 (now fully shipped) and were stale — they listed none of the P1/P2 controls and had no SAML coverage. This updates them to match what's live.

Changes

  • content/docs/guides/auth-sso.mdx — only covered OIDC. Added an "Enterprise SSO (SAML 2.0)" section (Register SAML Provider action, IdP fields table, SP ACS + metadata URLs, SAML sign-in flow) and reframed the ADR-0069 note around the admin-managed Setup → SSO Providers UI (no-code OIDC and SAML).
  • content/docs/guides/authentication.mdx — "Key Features" listed none of the hardening controls. Added them and a canonical "Enterprise Authentication Hardening (ADR-0069)" settings reference (password policy / anti-abuse / enforced MFA / sessions / network) plus a note on how the shared session-validation gate works. Reframed the now-contradicted "do not expose 2FA" caveat to point at enforced MFA + the Console remediation flow.
  • docs/HARDENING.md — expanded the TL;DR auth row, added an "Authentication hardening" production-settings section, and noted the new session-control settings in the session-lifecycle table.
  • content/docs/guides/security.mdx — cross-linked authentication hardening as the first security layer and added it to the security checklist.

content/docs/references/** are generated from object/action metadata (the new register_saml_provider action shows up there automatically on regen) — not hand-edited.

Verification

  • scripts/check-doc-authoring.mjs → clean (164 files, no bare metadata literals).
  • No bare <…> outside code fences (the classic MDX break).
  • Additions are plain markdown (tables / blockquotes / fenced code) — no JSX components. The Build Docs CI job is the authoritative MDX compile gate.

🤖 Generated with Claude Code

The hand-written auth guides predated ADR-0069 and were stale:

- auth-sso.mdx: only covered OIDC; added an "Enterprise SSO (SAML 2.0)" section
  (Register SAML Provider action, IdP fields, SP ACS/metadata URLs, sign-in flow)
  and reframed the ADR-0069 note around the admin-managed Setup → SSO Providers UI.
- authentication.mdx: "Key Features" listed none of the P1/P2 controls; added them
  and a canonical "Enterprise Authentication Hardening (ADR-0069)" settings
  reference (password policy / anti-abuse / enforced MFA / sessions / network +
  how the session-validation gate works). Reframed the stale "do not expose 2FA"
  caveat to point at enforced MFA + the Console remediation flow.
- HARDENING.md: expanded the TL;DR auth row, added an "Authentication hardening"
  production-settings section, and noted the new session-control settings.
- security.mdx: cross-linked authentication hardening as the first security layer
  and added it to the security checklist.

References/* are generated from object/action metadata and self-update; not touched.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 27, 2026 7:12pm

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation size/m labels Jun 27, 2026
@os-zhuang
os-zhuang merged commit fba6ea3 into main Jun 27, 2026
15 checks passed
@os-zhuang
os-zhuang deleted the docs/adr-0069-auth-guides branch June 27, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant