The OIDC bridge: build-vs-adopt ruling, claims/groups mapping, token lifetimes, where it runs #731
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Matou/idss#731
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Map: IDIP as a core identity alternative to kanidm (#725)
Question
With R1/R2 in hand, rule: adopt / wrap-a-library / write; whether the bridge is a control-plane component or its own core service; the OIDC issuer identity (
id.<apex>as today?) and discovery; how a membership ACDC's attributes (role, joinedAt, community) map to OIDC claims and the group model the auth gate and catalogue apps consume (ADR 0150's operator-is-admin, committees as groups); session/token lifetimes vs ACDC revocation latency; PKCE (the gate enforces it, #643); what the bridge stores (nothing but KEL/ACDC cache?). Output: ADR.Resolution (Ben, grilled 2026-08-24)
Landed as ADR 0196 (
docs/adr/0196-idip-oidc-bridge-idss-idp.md, commit372c4ef):zitadel/oidc/v3op(fosite fallback; never from scratch) as its own core serviceidss-idp— separate binary in this repo, own unit + declared health check (ADR 0112), Nix-provisioned like the kanidm block, atid.<apex>so every existing route/DDR and thegate-oidcclient keep their door. Rejected: a component inside the control-plane binary (couples sign-in to the control plane's lifecycle; blurs 0004's seam).sub= AID prefix; username/name/email from the membership ACDC; groups mirror kanidm 1:1 — membership ACDC =members,roleattribute =operators, one ACDC per committee →committee:<slug>(independently revocable). Rejected: a single ACDC carrying a groups list.Unblocks #732 (sign-in prototype) and #734 (kanidm-surface counterparts); #733 still waits on #737.