spring-security/oauth2
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
..
oauth2-client Apply updated Code Style 2023-09-29 11:44:32 -03:00
oauth2-core Use assertj assertions 2023-11-17 09:03:36 -03:00
oauth2-jose Enhance JWT decoding error handling 2024-01-25 17:32:10 -07:00
oauth2-resource-server Apply updated Code Style 2023-09-29 11:44:32 -03:00