docs(audit): close P05-OIDC-05 production-context readiness review

This commit is contained in:
victorsteele428 committed 2026-11-23 10:11:00 +00:00
1 parent f91e7956f5
commit e801318f01
20 files changed
+146 -7

No files matched your search

+4
View File
@@ -90,3 +90,7 @@ In the ONLY new Run #95, the original 4 services were healthy but the **earlier*
Gitea [Run #96](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/96), job #210, source `670e225db477f180ff14ffa62e6654860a166f17`, confirmed the expected network split and full end-to-end identity acceptance. `run.sh` now classifies private pre-forwarder probe socket/HTTP failures with allowlisted markers and at most 3 attempts conditional on transient socket classes; **this first actual check passed** (so retries and failure classifications were not triggered). The existing pre-bind `/proc/net/tcp{,6}` inspector identified a real TCP6 LISTEN inode `6286327` at port 8080 owned by `traefik` PID 1 in the disposable proxy namespace. The separate Socat namespace (private Docker network) used its own loopback :8080 and Docker-private proxy:80 to preserve `http://localhost:8080` issuer/Host without public host ports. Both private ready and issuer discovery returned verified PASS.
Official ZITADEL API created disposable project/client/verified test human, isolated secrets in run-owned volumes; original Login V2 + Chromium + Auth.js completed real authorization code PKCE S256/state/nonce, password callback, subject/cookie/protected Account API/page, anonymous/tampered-callback failures and local logout. `always()` cleanup verified original backend/bootstrap/secret volumes, network and labeled containers removed. `forwarder.py` unchanged and Python fallback not needed. **Only isolated development-origin E2E is accepted**; production TLS, custom imported Login V2 wiring, MFA/passkeys, Admin Console human flow, multi-app SSO and deployment are separate.
## P05-OIDC-05 production-context audit boundary
Run #96 verified the **official prebuilt** `ghcr.io/zitadel/zitadel-login:v4.20.4` with real disposable OIDC, not the imported `auth/ui/v2/apps/login` custom image. Run #89 separately verified frozen custom source build/unit/security, not its runtime. Existing dev Compose still routes Login V2 to the original image; production HTTPS and custom image wiring are BLOCKED. Account `src/auth.ts` implements PKCE/state/nonce and expiry/subject protection, while `src/lib/env.ts` requires HTTPS origins in production; no TLS ingress, trusted-header policy, production-cookie validation, federated logout/refresh or multi-app SSO is thereby provided. Full matrix: `notes/P05-OIDC-05.md`.