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

+9
View File
@@ -176,3 +176,12 @@ Official Login V2 user/auth source, user Account Portal, backend Compose and pro
**P05-OIDC-03:** `tests/ci/oidc_e2e/forwarder.py` new CI-only asyncio stdlib opaque TCP localhost relay. `tests/ci/oidc_e2e/run.sh` now first classifies existing socat startup stderr into fixed safe error classes and, on unhealthy socat, switches only once to immutable-digest official Python within the same run-owned container name/network namespace. `cleanup.sh` and `provision.py` untouched; `browser.cjs`, `users/ui/**`, `auth/ui/v2/**` and the original P02 Compose untouched.
**P05-OIDC-04-A01 source map update:** The *only* source change is `tests/ci/oidc_e2e/run.sh` at `670e225db477f180ff14ffa62e6654860a166f17`: its pre-forwarder direct private proxy:80 readiness block classifies safely bounded socket/HTTP error codes and limits retry to transient classes only, preserving exact Host/issuer/network/isolation. Existing pre-bind namespace socket inspector identified Traefik PID 1 TCP6:8080 in actual Gitea Run #96; the already-existing isolated Socat forwarder plus unchanged original provisioning/browser/cleanup verified full disposable real OIDC SUCCESS. See `notes/P05-OIDC-04-A01.md`.
## P05-OIDC-05 reviewed read-only integration map
- `deployment/docker/compose.backend.dev.yaml`: HTTP localhost dev backend, h2c Traefik and **prebuilt** Login V2 image; not a production manifest
- `auth/ui/v2/apps/login/{Dockerfile,package.json}`: imported build/package inputs; Run #89 build only, not Run #96 runtime
- `auth/ui/v2/apps/login/src/{proxy.ts,lib/server/service-url.ts}`: upstream rewrite/Host proxy logic, not a configured production ingress
- `users/ui/src/{auth.ts,lib/env.ts,lib/identity.ts}`: Auth.js PKCE/session, HTTPS origin validation, protected session and Console link
- `users/ui/src/{app/api/account/me/route.ts,components/account-shell.tsx}`: protected identity-only API and **local** logout
- `.gitea/workflows/p05-oidc-acceptance.yml`, `tests/ci/oidc_e2e/browser.cjs`: disposable **prebuilt** Login V2 E2E. Entire original source/CI left unchanged. `notes/P05-OIDC-05.md` lists blockers.