OIDC callback (first sign-in) #16
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lab/authz-bridge#16
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 callback — the first sign-in completing: the IdP redirects the browser back to the App's registered
callbackURL(on:8082); the Bridge verifies it, trades thecodefor tokens, establishes the Session, and returns the user to the page they were trying to reach.Acceptance criteria
stateparam against thestate/nonce cookie (CSRF); a mismatch (a forged callback) is rejected.statecookie'sappKey(no reliance on the gateway forwarding the Host to:8082).codevia theauthorization_codegrant using the client secret (asserted on the token-endpoint double's received form).returnTo.returnTocomes from the plainstatecookie (not thestateURL param), so the return URL is not logged by the IdP or leaked in the redirect.Blocked by
ginjiruu referenced this issue2026-09-14 17:05:35 +00:00