v5.0.0-rc.2
Pre-release
Pre-release
·
31 commits
to main
since this release
Added
- Add the
introspectionRequiresConfidentialClientoption (defaulttrue) to control whether the Token Introspection endpoint (RFC 7662 §4) rejects public clients. Set it tofalseto allow public clients to introspect their own tokens.
Changed
- BREAKING: The Token Introspection endpoint now requires a confidential client by default (RFC 7662 §4), rejecting public clients with
invalid_client. Opt out withintrospectionRequiresConfidentialClient: false. - The revoke (RFC 7009) and introspect (RFC 7662) endpoints now authenticate the client's identity — and its secret, for confidential clients — rather than asserting membership in the
client_credentialsgrant. (#233)
Fixed
- Token revocation no longer rejects legitimate clients that are not authorized for the
client_credentialsgrant. A public PKCE SPA or an auth-code-only confidential client can now revoke its own tokens; previously the grant-membership check refused them. (#233)