33 lines
2.9 KiB
Markdown
33 lines
2.9 KiB
Markdown
# P05-OIDC-06-A01 — Custom Imported Login V2 Runtime Acceptance
|
|
|
|
**Result:** [Gitea Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99), Job #214 — **COMPLETED SUCCESS**, tested source `7d6b6d0704b9e39bcb6e74257dadf0b64a19fc0f` on 23 November 2026 at 10:43:43 UTC.
|
|
|
|
## Verified root cause and scoped fix
|
|
|
|
The imported Login V2 upstream entrypoint is tracked as non-executable mode `100644`. Run #99 measured its temporary standalone Docker build copy as **mode `644`, owner `0:0`**. The original Dockerfile directly executes `/app/entrypoint.sh`, which caused the previous Run #98 OCI `permission denied`.
|
|
|
|
The new CI-only build helper checks file type/no-symlink, shebang, numeric mode and owner; applies `chmod 0755` **only to the disposable copied build-context entrypoint**, then validates it is executable. The resulting local Docker image passed a no-network, no-secrets entrypoint execution-permission check as its **default non-root image user**. The original imported source, Dockerfile, Account/Auth.js and development backend Compose were not changed.
|
|
|
|
## Real OIDC result
|
|
|
|
| Gate | Run #99 |
|
|
| --- | --- |
|
|
| Frozen imported PNPM/NX/Next standalone build | **PASS** |
|
|
| Temporary copied entrypoint `644 → 755` and image executable preflight | **PASS** |
|
|
| Custom source-built local image + actual running container ID match | **PASS** |
|
|
| Four healthy disposable backend services, private route and issuer | **PASS** |
|
|
| Official disposable ZITADEL project, client and test human | **PASS** |
|
|
| Real Chromium custom Login V2, PKCE S256/state/nonce, password and Auth.js callback | **PASS** |
|
|
| Authenticated subject/session, protected Account page/API | **PASS** |
|
|
| Anonymous and invalid callback rejection, local logout | **PASS** |
|
|
| Run-owned backend/credentials/DB/network and builder/image/context cleanup | **PASS** |
|
|
| Optional Python fallback or negative unexpected-mode retry | **NOT EXECUTED / not required** |
|
|
|
|
The temporary local image `zitplane-login-ci:99` had image ID `sha256:42fba458e25d3186c504ae4532fece489986a18ab5fdcf97e87b052c4866207f` and was removed during the successful owned-only cleanup. No image registry publishing, real humans, public backend ports, local builds/tests, production deployment, tags or releases.
|
|
|
|
**Limitations:** This is real custom-built Login V2 authentication acceptance in **isolated development-origin CI**, **not production HTTPS/domain/Console/MFA/passkey/multi-app SSO acceptance**. Earlier Run #98 remains a historical startup failure; the independent official prebuilt Run #96 also remains accepted.
|
|
|
|
**Next recommended separately approved stage:** `P05-OIDC-07` production HTTPS issuer/ingress and secrets/recovery **read-only deployment-contract forensic design**, before any secure production-config CI-only implementation proposal or actual deployment.
|
|
|
|
For exact source diff, CI gate evidence and the next locked scope, see [notes/P05-OIDC-06-A01.md](../notes/P05-OIDC-06-A01.md).
|