docs(oidc): synchronize Run 98 operator and CI usage guidance
This commit is contained in:
1 parent
d5a3f093ab
commit
c656b5fbe1
7 files changed
+21
No files matched your search
@@ -57,3 +57,5 @@ Future feature additions need an evidence-backed status update here, an exact de
|
||||
**P05-OIDC-04-A01 accepted real browser OIDC (disposable only):** Gitea [Run #96](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/96), job #210, source `670e225db477f180ff14ffa62e6654860a166f17` **COMPLETED SUCCESS**. 4/4 healthy services/portless network, actual Traefik PID 1 TCP6:8080 listener, separate private Socat forwarder, issuer discovery, official project/client/test-human, Chromium original Login V2, PKCE S256/state/nonce, genuine Auth.js callback/subject/session/protected identity API/page, anonymous/invalid-callback rejection, local logout and mandatory owned-only cleanup all **PASS**. Python fallback and transient-error retry **NOT EXECUTED** (not needed). **Production HTTPS/custom imported Login V2 integration/MFA/passkeys/multi-app SSO/live deployment NOT VERIFIED**. [Full guide](P05-OIDC-04-A01.md).
|
||||
|
||||
**P05-OIDC-05 audit summary (2026-11-23):** The previous historical snapshots remain intact. Current accepted source: [Run #96](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/96) real **disposable prebuilt** Login V2 → Chromium/PKCE/Auth.js protected Account/negatives/local logout **PASS**, owned cleanup PASS. Imported source build/unit/security verified separately Run #89. **Production HTTPS/issuer/Host/secure-cookie/callback, imported Login custom-image runtime, Admin Console sign-in, MFA/passkeys, two-app SSO, managed backups/secrets and public deployment NOT VERIFIED/BLOCKED.** See [production readiness audit](P05-OIDC-05.md). No CI rerun in this audit.
|
||||
|
||||
**P05-OIDC-06 terminal (2026-11-23):** [Run #98](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/98) source `fcfa59e826c39b445faa1b5b26c47ce715d8c3d6` **FAILURE**: frozen imported Login source standalone and disposable local custom Docker image **PASS**, OCI entrypoint `/app/entrypoint.sh` **permission denied**, so actual imported Login service/browser OIDC/PKCE/Auth.js/negative/logout **NOT EXECUTED**. Existing backend/OIDC and new image/builder resource cleanup all PASS. Previously accepted original official prebuilt Run #96 real OIDC PASS is intact; no production runtime/HTTPS/MFA accepted. [Exact guide](P05-OIDC-06.md).
|
||||
@@ -136,3 +136,9 @@ Coolify, HTTPS, secrets, backups, durable storage and focused production readine
|
||||
## P05-OIDC-05 — Production-Context Integration Readiness Forensic Audit (COMPLETE; docs only)
|
||||
|
||||
Approved baseline `b3841d8c05d6b47ceaf1dbc5f7103b8de4f256e6`, accepted [Run #96](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/96) on `670e225db477f180ff14ffa62e6654860a166f17`: real disposable original **prebuilt** Login V2 / Auth.js OIDC and owned cleanup SUCCESS. Imported Login V2 source frozen build/unit/security Run #89 SUCCESS separately; custom image **not** runtime integrated. P0: custom Login packaging/wiring, secure production HTTPS issuer/Host/callback, durable secret/DB/backup operations. P1: trusted proxy/cookies/refresh/federated logout, Admin Console/MFA/passkey, multi-app/tenant SSO. P2: release artifacts/monitoring/rollback. **No source/CI/runner/production edit, no new CI dispatch or live user.** See `notes/P05-OIDC-05.md` and `docs/P05-OIDC-05.md`. Proposed next separately approved `P05-OIDC-06`: CI-only custom imported Login V2 image + real disposable browser runtime acceptance.
|
||||
|
||||
## P05-OIDC-06 — Imported Login V2 Disposable Image & Runtime Acceptance (TERMINAL FAILURE; 2026-11-23)
|
||||
|
||||
- Baseline `e801318f0126e433f71a3b1f8bb4c6f83aec6611`, pre-edit note commit `c93468fb6066b532c29ef1625cf0e3964eb1fd9d`. Approved new manual workflow/CI overlay/isolated build+cleanup, narrow existing `tests/ci/oidc_e2e/run.sh` opt-in only. Tested source `fcfa59e826c39b445faa1b5b26c47ce715d8c3d6`.
|
||||
- Exactly one [Run #98](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/98) job #213 **COMPLETED FAILURE**: frozen four-workspace install/NX/Next standalone and local custom image **PASS**; Docker/portless config, Postgres and ZITADEL API startup PASS; imported Login OCI process **FAIL** (`exec: "/app/entrypoint.sh": permission denied`). Custom Login health/identity, Traefik/issuer, client/human and Chromium/Auth.js/negative/logout **NOT EXECUTED**. Root executable file mode not inspected; do not assert it. Existing original Login Run #96 OIDC SUCCESS remains valid.
|
||||
- Three cleanup markers PASS: old backend, OIDC and new image/builder/temp context. No repeated CI, local builds/tests, production, real user, registry publication or tag/release. Next separately approved `P05-OIDC-06-A01`: scoped temporary artifact entrypoint permission RCA in `tests/ci/login_image/build.sh` only. See `notes/P05-OIDC-06.md` and `docs/P05-OIDC-06.md`.
|
||||
@@ -128,3 +128,7 @@ In Gitea `vibtools/ZitPlane` → Actions → **ZitPlane P05-OIDC-01 Disposable R
|
||||
## P05-OIDC-05 production readiness warning
|
||||
|
||||
Run #96 authenticated successfully only in disposable CI over **HTTP localhost** with original **prebuilt** Login V2. The tracked backend Compose has `localhost:8080`, disabled external TLS and local-only routing; **never deploy this development Compose to public Coolify** or reuse its bootstrap credentials/volumes. An independent future phase must build and test imported custom Login image; later phases must implement canonical HTTPS issuer and registered Account callback, h2c/HTTP2, trusted forwarded Host/Proto, cookie policy, secrets/rotation, backup/restore, break-glass and rollback. Factors/Admin/second app SSO remain unverified. Operator report: [P05-OIDC-05.md](P05-OIDC-05.md).
|
||||
|
||||
## P05-OIDC-06 — new custom image is not runtime accepted
|
||||
|
||||
The imported upstream Login V2 frozen build and temporary local image passed Gitea Run #98, but the actual OCI `zitadel-login` process could not start: `exec: "/app/entrypoint.sh": permission denied`. The exact file mode/owner was not measured; changing upstream source or original Dockerfile is NOT authorized. Private proxy, real client/user, Chromium/Auth.js callbacks and protected pages were not executed in this run; the owned credential/database/volume/network and builder/image/context cleanup passed. Do not copy this CI image to production or publish host ports. Next independent permission/exec audit must target **only the temporary copied build artifact**; see [P05-OIDC-06.md](P05-OIDC-06.md).
|
||||
@@ -91,3 +91,7 @@ Earlier Run #95 did not classify its private proxy HTTP exception and failed bef
|
||||
## P05-OIDC-05 — CI success vs public deployment
|
||||
|
||||
If production domains do not respond, do not assume Gitea Run #96 deployed them: it did **not**. A custom Login design not appearing is expected until the imported image is actually built and wired; dev Compose explicitly loads the official prebuilt image. Future HTTPS OIDC failures require exact issuer, callback, public Host, sanitizing forwarded headers, h2c/HTTP2 route, cookies and secrets review; do not bypass PKCE/state/nonce or expose :8080 publicly. MFA/self-service links require actual ZITADEL policy and Console permissions. Never share passwords, PATs, query URLs or cookies in diagnostics. See [P05-OIDC-05.md](P05-OIDC-05.md).
|
||||
|
||||
## P05-OIDC-06 — OCI startup blocker before login
|
||||
|
||||
[Gitea Run #98](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/98) successfully built the imported Login source/image, then failed at the OCI start boundary: `exec: "/app/entrypoint.sh": permission denied`. Inspect the copied standalone entrypoint's mode/owner and verify built image `test -x` only in a later separately approved CI phase; current job did not prove missing executable bit. Do NOT weaken App/Auth.js, alter upstream auth sources, bypass entrypoint or rerun without approval. Browser OIDC was NOT EXECUTED; both cleanup subsystems PASS.
|
||||
Reference in new issue
Block a user