Skip to content

11.1.1

Latest

Choose a tag to compare

@aguacongas aguacongas released this 30 Nov 12:49
· 0 commits to e61fbef12c81ae0814542d80bc02b26933c99e6b since this release

11.1.1 (2026-11-30)

Bug Fixes

Security: token exchange hardening

The token exchange grant (TokenExchangeGrantValidator) now enforces authorization and scope rules.

Breaking changes

  • A client can only exchange its own tokens. To exchange tokens issued to other clients, set the token_exchange_allowed_subject_clients client property (space-separated client ids). Requests that are not authorized fail with unauthorized_client.
  • The client_id of the issued token is no longer overwritten with the client_id of the subject token. It is now the calling client's.
  • Requested scopes must be a subset of the subject token's scopes (invalid_scope otherwise).
  • resource and audience parameters are rejected (invalid_target) instead of being ignored.

Fixed

  • A subject token without a sub or client_id claim now returns invalid_request instead of an unhandled exception.

Thanks to @NotWeelee for the responsible disclosure.