Files
ZitPlane/docs/P05-OIDC-04-A01.md
T

3.2 KiB

P05-OIDC-04-A01 — Real ZITADEL Browser OIDC Acceptance (Gitea Run #96)

Approved baseline: 443dfcf5d1ecb6f6f5c04cada32aafa17d7d823e Verified source: 670e225db477f180ff14ffa62e6654860a166f17 (exact CI tested SHA, not the later documentation commit). Gitea result: Run #96, Job #210, COMPLETED SUCCESS, on 2026-11-22 20:17:40 UTC.

What this verifies

A temporary, isolated Gitea environment booted four healthy official ZITADEL/Traefik/PostgreSQL/Login V2 services without host-published ports, created a disposable ZITADEL project and real OIDC client/test human using official APIs, then used real Chromium to authenticate through original Login V2. The browser verified OIDC authorization code with PKCE S256/state/nonce, genuine Auth.js callback, matching authenticated subject and protected Account API/page, anonymous/invalid-callback rejection and local sign-out. Both mandatory cleanup verification markers succeeded, so disposable resources and credentials were destroyed.

The proxy namespace's port-8080 listener was actually identified as Traefik PID 1 (TCP6). The CI-only dedicated private forwarding namespace avoided that collision. The direct Traefik readiness HTTP 200 and forwarded issuer readiness both PASSED.

Gate Run #96
Git checkout, Docker preflight, portless owned Compose and 4 healthy backend services PASS
Direct private Host-route HTTP readiness, listener identity and Socat forwarder PASS
Forwarded HTTP 200 and matching issuer/OIDC discovery PASS
Official disposable project, OIDC client and verified test human PASS
Real Chromium authorization code / S256 PKCE / state / nonce PASS
Original Login V2 password, real Auth.js callback PASS
Authenticated Account identity/session/HttpOnly cookie/protected page and API PASS
Anonymous and tampered callback rejection PASS
Local portal logout and session invalidation PASS
Always-run run-owned credential/database/container/network cleanup PASS
Optional Python fallback (not needed after Socat succeeded) NOT EXECUTED
Private readiness transient-error retry branch (first attempt succeeded) NOT EXECUTED

What it does NOT mean

This is development-origin disposable CI authentication acceptance, not a live production website or production-grade identity-provider deployment. Custom imported Login V2 source is not thereby proved wired in place of the original official prebuilt Login V2 image. Production HTTPS, real domains, MFA, passkeys, Admin Console interactive flows, multi-app SSO, live user data and production deployment were not tested. Nothing here authorizes a production rollout.

P05-OIDC-05 should be a read-only production-context integration readiness forensic audit identifying the exact remaining requirements and separately approving any future implementation. Do not repeat Run #96 or manually create real users. The detailed chronological gate ledger, confirmed Traefik socket evidence, Scope Lock and source SHA are in notes/P05-OIDC-04-A01.md.