
wmantlyandClaude Opus 4.8
87c0d024d5
Per-host SSO: Node auth endpoints + Redis session (#57)
Adds the /__proxy_auth OIDC flow served on every proxied host:
- routes/host_auth.js: /start (PKCE+state, per-host redirect_uri), /callback
(exchange, enforce the host allow-list via utils/host_sso.identityAllowed,
mint session + set __proxy_sso cookie), /logout.
- models/sso_session.js: SsoSession (Redis-backed, TTL'd; read directly by the
Lua gate) and HostSsoState (in-flight auth request).
- utils/oidc.js: per-host redirect_uri override on buildAuthUrl/exchangeCode.
- conf.hostSso (reuses conf.oidc). Allow-list logic unit-tested.
Enforcement (Lua gate + nginx location) lands next.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-11 15:41:28 -04:00
..
2026-07-11 12:01:54 -04:00
2025-12-31 16:51:55 -05:00
2026-07-10 23:55:56 -04:00
2026-07-10 22:10:55 -04:00
2025-12-31 16:51:55 -05:00
2026-07-11 15:41:28 -04:00
2026-07-11 11:18:47 -04:00
2026-07-10 12:17:05 -04:00
2026-07-11 11:38:09 -04:00
2026-07-11 10:54:15 -04:00
2026-07-10 13:22:12 -04:00
2025-12-31 17:26:24 -05:00
2026-07-10 10:51:06 -04:00