OIDC Flow to the trio: x/oauth2 + go-oidc (mechanical swap) #34
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lab/authz-bridge#34
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
#31 — Spec: public-client support + replace hand-rolled protocol code with the x/oauth2 + go-oidc + hstern trio
What to build
The OIDC Flow's protocol code runs on the trio —
golang.org/x/oauth2(authorization URL, authorization-code exchange, refresh grant) andcoreos/go-oidc/v3(id_token validation over aStaticKeySetparsed from the leader-resolved JWKS, ES256). Current behavior is preserved (confidential client, no PKCE yet); the hand-rolled token-endpoint form-POSTs and theinternal/jwtverification are removed. Discovery + JWKS stay leader-resolved (no serving-path IdP I/O).Acceptance criteria
x/oauth2.coreos/go-oidcover aStaticKeySetbuilt from the Snapshot's JWKS (ES256); no serving-path JWKS fetch.internal/jwtare removed.make lintandmake testpass.Blocked by