Repository navigation
·
0 commits
to e61fbef12c81ae0814542d80bc02b26933c99e6b
since this release
11.1.1 (2026-11-30)
Bug Fixes
- add wrtitter policy to verify a certificate (7ddff7f)
- GHSA-5w6f-rmqq-v4mm (b8ba515)
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_clientsclient property (space-separated client ids). Requests that are not authorized fail withunauthorized_client. - The
client_idof the issued token is no longer overwritten with theclient_idof the subject token. It is now the calling client's. - Requested scopes must be a subset of the subject token's scopes (
invalid_scopeotherwise). resourceandaudienceparameters are rejected (invalid_target) instead of being ignored.
Fixed
- A subject token without a
suborclient_idclaim now returnsinvalid_requestinstead of an unhandled exception.
Thanks to @NotWeelee for the responsible disclosure.