OIDC lazy refresh #17
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lab/authz-bridge#17
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 OIDC refresh flow (keep-alive): a user who signed in 15 minutes ago is not bounced to Kanidm — the Bridge transparently renews the short-lived
id_tokenvia therefresh_token, so the Session outlives Kanidm's 15-minuteid_token.Acceptance criteria
id_token.exp − now < margin(≈60s), theCheckrenews the Session via therefresh_tokengrant using the client secret (asserted on the token-endpoint double's received form).OkHttpResponse.response_headers_to_add(Set-Cookie), then validates/injects the newid_token.id_token+ arefresh_token.Blocked by