IdP resolve (discovery + JWKS, keep-last-good) #2
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lab/authz-bridge#2
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
Spec: Shared in-memory state model (Registry + Snapshot) — #1
What to build
Given a Client's
issuerURL, a resolve step that fetches the IdP discovery document and derives the token endpoint and authorization endpoint, and fetches the JWKS signing keys. On any fetch failure it keeps the last-good keys, so a transient IdP outage does not blank the signing keys. Verifiable against a stubbed (httptest) IdP.Acceptance criteria
issuerURL, it fetches the discovery document and returns the resolved token endpoint and authorization endpoint.Blocked by
None — can start immediately.