docs(audit): align source maps, security boundaries and CI coverage for P05-OIDC-07

This commit is contained in:
victorsteele428 committed 2026-11-23 11:25:25 +00:00
1 parent c476f0cd75
commit fd24d92df0
8 files changed
+43

No files matched your search

+6
View File
@@ -45,3 +45,9 @@
P01 folder foundation committed. P02 local Compose source completed (prior 3/3 static tests; no Docker). P03 source import integrity audited (638/638 Git blobs), but no build. P04 Account Portal scope audit passed; no dependency install, lockfile, TypeScript build, E2E or CI run. All runtime behavior remains **unverified**.
See `docs/PHASES.md`, `docs/P02-EVIDENCE.md`, `docs/P03-SOURCE-IMPORT.md` and `docs/P04-ACCOUNT-PORTAL.md` for exact historical evidence.
## P05-OIDC-07 — proposed production trust-boundary topology, NOT deployed
- Public **issuer** `https://auth.vib.tools` (proposed only): one TLS-terminating trusted ingress; `/ui/v2/login/**` → imported Login V2 private 3000, all other ZITADEL API/discovery and `/ui/console/**` → official Go private 8080 via **h2c** for gRPC/gRPC-Web; static exact Host/forwarded-header allowlist, no direct host backend/DB ports.
- Independent relying-party `https://account.vib.tools` (proposed only): separate HTTPS ingress to Auth.js Account, exact registered confidential Web-client callback `https://account.vib.tools/api/auth/callback/zitadel`. Keep user sessions/cookies host-scoped, protected APIs/no-store and issuer/client/subject validation.
- Security/operations boundaries: dedicated `IAM_LOGIN_CLIENT` service identity separate from break-glass `IAM_OWNER`; exactly 32-byte ZITADEL master key protected with separately encrypted Postgres backups/restores; safe Login V2 Console cutover/rollback; digest-locked image provenance and monitoring. Existing `deployment/docker/compose.backend.dev.yaml` remains localhost HTTP/dev only; no real production domains/DNS/certificates/secrets were read or changed. See `notes/P05-OIDC-07.md`, `docs/P05-OIDC-07.md`.