State-model amendment: resolve + carry end_session_endpoint #13

Closed
opened 2026-09-14 17:04:55 +00:00 by ginjiruu · 0 comments
Owner

Parent

#11 — Spec: The flow-serving bridge (gRPC ext_authz Check + OIDC/Exchange flows + callback/logout listener)

What to build

A small state-model amendment: the leader's IdP discovery resolve also extracts end_session_endpoint, and the OIDC section of the resolved state (Registry Entry + Snapshot) carries it — so RP-initiated logout (EndSession=true) works without a per-request discovery fetch. This is an additive change to the already-built resolve step (discovery is already fetched; extract one more field).

Acceptance criteria

  • The leader's IdP discovery resolve extracts end_session_endpoint from the discovery document.
  • The OIDC section of the Registry Entry and the Snapshot carries end_session_endpoint.
  • An absent end_session_endpoint in the discovery document is handled (the field is empty; EndSession is a no-op / validation error per policy).
  • Verified via the existing stubIdP httptest double (a new discovery assertion) + the existing envtest leader path.

Blocked by

None — can start immediately.

## Parent #11 — Spec: The flow-serving bridge (gRPC ext_authz Check + OIDC/Exchange flows + callback/logout listener) ## What to build A small state-model amendment: the leader's IdP discovery resolve also extracts `end_session_endpoint`, and the OIDC section of the resolved state (Registry `Entry` + Snapshot) carries it — so RP-initiated logout (`EndSession=true`) works without a per-request discovery fetch. This is an additive change to the already-built resolve step (discovery is already fetched; extract one more field). ## Acceptance criteria - [ ] The leader's IdP discovery resolve extracts `end_session_endpoint` from the discovery document. - [ ] The `OIDC` section of the Registry `Entry` and the Snapshot carries `end_session_endpoint`. - [ ] An absent `end_session_endpoint` in the discovery document is handled (the field is empty; `EndSession` is a no-op / validation error per policy). - [ ] Verified via the existing `stubIdP` httptest double (a new discovery assertion) + the existing envtest leader path. ## Blocked by None — can start immediately.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lab/authz-bridge#13
No description provided.