Exchange Check #15
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lab/authz-bridge#15
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
#11 — Spec: The flow-serving bridge (gRPC ext_authz Check + OIDC/Exchange flows + callback/logout listener)
What to build
The Exchange Flow
Check(machine tokens): a service account presents its Kanidm API token, and the Bridge exchanges it for OAuth2 tokens via the RFC 8693 grant (no client secret; the App's own clientID is theaudience; the policy's scopes), then hands the exchanged token to the backend. From the service account's perspective: present the API token, get authorized to the backend as the App.Acceptance criteria
Authorization/Bearer/access_token).401.audience= the App's own clientID, the policy's scopes (asserted on the token-endpoint double's received form).access_tokenasAuthorization: Bearer <token>andheaders_to_removes the incomingAuthorization(the subject token is consumed, not forwarded).5xx(fail-closed).Blocked by
ginjiruu referenced this issue2026-09-14 17:05:34 +00:00
ginjiruu referenced this issue2026-09-14 17:05:36 +00:00