spring-security/oauth2/oauth2-jose/src
Jonas Erbe aefd2d497c Fix JwtClaimValidator wrong error code
Previously JwtClaimValidator returned the invalid_request error on claim validation failure.
But validators have to return invalid_token errors on failure according to:
https://datatracker.ietf.org/doc/html/rfc6750#section-3.1.
Also see gh-10337

Closes gh-10337
2021-11-29 12:22:30 -07:00
..
main/java/org/springframework/security/oauth2 Fix JwtClaimValidator wrong error code 2021-11-29 12:22:30 -07:00
test/java/org/springframework/security/oauth2 Fix JwtClaimValidator wrong error code 2021-11-29 12:22:30 -07:00