spring-security/oauth2/oauth2-jose
Hans Lindner ca10187fd1 Enhance JWT decoding error handling
Previously, the `decode` method threw a `JwtException` directly when encountering an unsupported algorithm or any exception during parsing. This commit introduces a more robust error handling mechanism. Now, instead of throwing exceptions directly, it returns a `Mono.error()` with a `BadJwtException` containing detailed error information. This approach provides more flexibility and allows the caller to handle errors in a more granular way, by being able to use project reactors onError functionality.

Closes gh-14467
2024-01-25 17:32:10 -07:00
..
src Enhance JWT decoding error handling 2024-01-25 17:32:10 -07:00
spring-security-oauth2-jose.gradle Restore ManagementConfigurationPlugin 2021-10-05 11:23:29 -03:00