docs(oidc): record imported custom Login V2 Run 99 operator acceptance

This commit is contained in:
victorsteele428 committed 2026-11-23 10:46:32 +00:00
1 parent b0f2fe14ce
commit e5778ead56
5 files changed
+23

No files matched your search

+2
View File
@@ -59,3 +59,5 @@ Future feature additions need an evidence-backed status update here, an exact de
**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).
**P05-OIDC-06-A01 accepted custom source-built Login V2 (2026-11-23):** Actual [Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) job #214 **SUCCESS** on immutable `7d6b6d0704b9e39bcb6e74257dadf0b64a19fc0f`. Git original entrypoint mode `100644` produced disposable copied mode `644`; CI-only temporary copy `755`, actual Docker image default-user executable gate and running custom-image identity PASS. Four services/private issuer and real Chromium **imported custom Login V2** password→PKCE/state/nonce→Auth.js callback/subject/Account protected API/page, anonymous/invalid callback negatives, portal-local logout PASS. Dual exact-owned cleanup PASS. **This verifies custom Login runtime, not production HTTPS/domain, MFA/passkey, Admin Console, federated logout or multi-app SSO.** [Guide](P05-OIDC-06-A01.md).
+7
View File
@@ -142,3 +142,10 @@ Approved baseline `b3841d8c05d6b47ceaf1dbc5f7103b8de4f256e6`, accepted [Run #96]
- 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`.
## P05-OIDC-06-A01 — Verified Custom Imported Login V2 Authentication (COMPLETE / PASS, 2026-11-23)
- Approved baseline `c656b5fbe1f1c2c819a600bad9a6b04105499e85`. Pre-source note commit `adc02bd2c31469fa1b268bfb34d4dabc8185941c`; **only** `tests/ci/login_image/build.sh` changed in tested source SHA `7d6b6d0704b9e39bcb6e74257dadf0b64a19fc0f`. Upstream imported Login V2/Dockerfile/Account/Auth.js, Compose, original CI workflows/harness and production unchanged.
- Exactly one [Gitea Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99), job #214 **SUCCESS** on `7d6b6d0704b9e39bcb6e74257dadf0b64a19fc0f`, 5/5 job steps SUCCESS. Git imported entrypoint `100644`, disposable standalone copy measured `644` UID:GID `0:0`, copied temp context only repaired `755`; default image-user no-network executable probe PASS, local image build and actual running custom Login ID match PASS.
- All 4 disposable services healthy, no published host port, private Host/issuer and Socat PASS. Official project/client/verified test human, real Chromium **source-built imported Login V2** password + OIDC PKCE S256/state/nonce/Auth.js callback, protected Account subject/session/API/pages, anonymous/tampered callback negatives and portal-local logout ALL PASS. Mandatory original backend/OIDC/credentials/DB/network plus new image/builder/temp-context exact-owned cleanup PASS.
- No local app build/test, production HTTPS, real accounts, published image, MFA/passkeys, Admin Console interactive test, cross-app SSO, tag or release. [Phase forensic notes](../notes/P05-OIDC-06-A01.md), [operator acceptance guide](P05-OIDC-06-A01.md). Next proposed separate `P05-OIDC-07`: **read-only secure production HTTPS/ingress and secrets/recovery deployment-contract audit**, not a deployment.
+6
View File
@@ -132,3 +132,9 @@ Run #96 authenticated successfully only in disposable CI over **HTTP localhost**
## 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).
## P05-OIDC-06-A01 — Custom Login local CI acceptance, not production setup
The previously failed OCI entrypoint was resolved solely by modifying an ephemeral CI Docker build-context file: original imported `entrypoint.sh` Git `100644`, copy `644`, corrected temp artifact `755`. In [Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99), the source-built Login V2 Docker image passed a no-network non-root executable preflight, was started in a portless disposable stack and genuinely authenticated through Chromium/PKCE/Auth.js to the Account Portal. Project/client/human and all secrets/containers/networks/images were deleted after testing.
Do **not** modify imported upstream Login source or developer Compose, publish the CI image, deploy dev HTTP localhost to the Internet or reuse the temporary credential/volume bootstrap. HTTPS issuer and domain routing, trusted reverse-proxy Host headers, secure cookies, production secrets/backup/rollback, Admin Console/MFA/SSO remain **unverified**. [Evidence](P05-OIDC-06-A01.md).
+4
View File
@@ -95,3 +95,7 @@ If production domains do not respond, do not assume Gitea Run #96 deployed them:
## 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.
## P05-OIDC-06-A01 — entrypoint executable-bit RCA resolved in disposable CI
If a previous imported image fails with `exec: "/app/entrypoint.sh": permission denied`, note that Run #98 was a historical failure. Actual Run #99 [evidence](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) measured copied standalone mode `644` (Git source `100644`), applied `chmod 0755` **only to the temporary build context** and proved built image `test -x` using no secrets/network and its default non-root user. The actual custom Login service started healthy and full Chromium OIDC/Auth.js/negative/logout PASS. Original source, Dockerfile and production remain unchanged. Never relax PKCE/callback or modify production to resolve a packaging mode. If an unrelated future issue appears, open a new scoped RCA; do not rerun Run #99. [Operator report](P05-OIDC-06-A01.md).
+4
View File
@@ -85,3 +85,7 @@ This is expected until environment, OIDC client, dependencies, Docker integratio
## P05-OIDC-05 current user-facing availability
Source/CI **verified**: Run #96 successfully authenticated a disposable test human through official prebuilt Login V2 into the Account Portal, verified protected API/page and local logout. **Not publicly deployed** by any evidence in this repository; planned auth/account domain URLs may be unavailable. `Open central security settings` depends on ZITADEL permissions; password/MFA/passkeys cannot be edited within this portal. `Sign out of portal` is not federated sign-out across apps. Login source import is not the image used by accepted CI. See [production readiness](P05-OIDC-05.md).
## Latest verified custom Login V2 behavior — P05-OIDC-06-A01
In isolated Gitea [Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99), the **imported source-built Login V2** itself (not only the original official prebuilt image) completed a genuine disposable username/password Chromium OIDC callback, subject/session and protected Account API/page access, anonymous/callback rejection and portal-local sign-out. This is not a publicly accessible service and cannot establish live behavior for real users, MFA enrollment/passkeys, ZITADEL Console or shared SaaS sessions. Self-service settings still depend on ZITADEL policy. The older original-prebuilt Run #96 also passed independently. Full gate status: [P05-OIDC-06-A01.md](P05-OIDC-06-A01.md).