Skip to content

feat(oidc-edge): report the token request grant to /oidc/sign - #164

Merged
Bccorb merged 1 commit into
mainfrom
fix/oidc-sign-refresh-grant
Nov 27, 2026
Merged

Bccorb merged 1 commit into
mainfrom
fix/oidc-sign-refresh-grant

Conversation

@Bccorb

@Bccorb Bccorb commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Moves the OIDC edge contract to version 4.

OidcSignRequestSchema now carries the grant of the token request itself rather than only the grant the sign-in started with:

  • grantType accepts refresh_token.
  • A refresh_token request names the sign-in grant it continues in the new originGrantType (authorization_code or the device code grant). It is required for a refresh and refused on any other request, including client credentials.
  • OidcSignGrantTypeSchema is exported.

OIDC_EDGE_CONTRACT_VERSION is 4. An edge and an API on different contract versions refuse to run together, so the API and the edge move to this version in the same release.

Released as a minor bump.

grantType now names the grant of the token request, including refresh_token,
and a refresh names the sign-in grant it continues in originGrantType.
OIDC_EDGE_CONTRACT_VERSION is 4.
@Bccorb
Bccorb merged commit 6a78488 into main Nov 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant