v5.0.0-rc.3
Pre-release
Pre-release
·
28 commits
to main
since this release
Fixed
- The
/token/revokeendpoint now returns401 invalid_clientwhen client authentication fails (a missing or invalidclient_id, a wrongclient_secret, or a confidential client with no secret) instead of silently returning200. RFC 7009 §2.1 requires a failed client authentication to be refused with an RFC 6749 §5.2 error response; the empty200is only correct for an invalid token (RFC 7009 §2.2). The introspect endpoint is harmonized for the missing-client_idcase. Cross-client token-ownership mismatches and invalid/unknown/malformed tokens still return200. (#234)