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

2.5 KiB
Raw Blame History

P05-OIDC-04 — Private OIDC Forwarder Isolation and Run #95 Acceptance

Approved baseline: 89bc3f21af53e481c68ee06c8eb120e30b855038 Tested source: 79dac4f5bb76e1cee4dfaf61657c6e84268b3dfb (single CI-only source commit, not the later documentation SHA). Evidence: Gitea Run #95, job #209, 2026-11-22 19:40:58–19:46:22 UTC, COMPLETED / FAILURE.

What was implemented

A source-only, disposable CI change first audits proxy-namespace TCP port 8080 from /proc/net/tcp{,6} and PID/socket mappings, printing only safe process name/PID/inode classifications. A run-labeled forwarder is then intended to own a separate private Docker network namespace with IPv4 loopback localhost:8080, forwarding bytes to Docker-private proxy:80. Provisioning and original Chromium Account acceptance join that same forwarder namespace. The issuer http://localhost:8080, exact Host, login/auth logic, original Compose and cleanup guardrails are unchanged. Nothing publishes a host port.

What Gitea actually verified

Gate Run #95
Runner, checkout and Docker/Compose PASS
No public host ports and disposable ownership preflight PASS
Four official backend services healthy PASS
Direct private Traefik Host HTTP readiness FAIL: OIDC_CI_PRIVATE_PROXY_SOCKET_OR_HTTP_BLOCKED
New 8080 PID/socket inspector NOT EXECUTED
Isolated Socat/Python forwarder and forwarded HTTP 200 NOT EXECUTED
Real disposable project, client and human NOT EXECUTED
Chromium Login V2, PKCE/state/nonce, Auth.js callback/session and protected API/pages NOT EXECUTED
Anonymous/invalid callback rejection and logout NOT EXECUTED
Mandatory owned-only cleanup PASS: both backend and OIDC cleanup markers

Important: The exact listener owner from earlier Run #93 is still UNKNOWN. Run #95 failed before the inspector, so the new forwarder design has not been runtime-proven. Do not claim production login, real authenticated OIDC or MFA support.

Next narrow action

A separately approved P05-OIDC-04-A01 should classify the direct private proxy:80 HTTP/socket readiness failure safely before the 8080 inspection. Only after evidence justifies a minimal adjustment should one fresh disposable CI cycle verify real login, negative gates and always cleanup. Never disable PKCE/state/nonce, publicize test ports or use real human accounts. Full ledger and next exact Scope Lock: notes/P05-OIDC-04.md.