How to make spring security accept HS256 instead of RS256?

Viewed 16

i have this code: NimbusJwtDecoder jwtDecoder = NimbusJwtDecoder.withJwkSetUri(issuerUri).jwsAlgorithm(SignatureAlgorithm.RS256).build();

What is the working equivalent of the same thing using HS256? There is no such constant in the enum SignatureAlgorithm.

0 Answers
Related