A clear and concise description of what the bug is. I use springframework.security.oauth2 as client for authorization. When I try to log in I get this exception in service: "org.springframework.security.oauth2.jwt.BadJwtException: Unsupported algorithm of RS512" In OidcAuthorizationCodeReactiveAuthenticationManager class in public Mono authenticate(Authentication authentication) method.

Another problem is that this exception doesn't print in logs, so I found it only after hours of debugging. photo_2021-10-06_15-59-59

I use spring boot 2.3.9

How can I set RS512 algorithm for oauth client?

Comment From: eleftherias

Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. We prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add a minimal sample that reproduces this issue if you feel this is a genuine bug.

Comment From: SpeedyGonzaless

Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. We prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add a minimal sample that reproduces this issue if you feel this is a genuine bug.

Okey, but at least there is a bug that this exception isn't printing in logs.