smallrye-jwt icon indicating copy to clipboard operation
smallrye-jwt copied to clipboard

allow multiple signature algorithms

Open Dieken opened this issue 2 years ago • 0 comments

https://github.com/smallrye/smallrye-jwt/blob/main/implementation/jwt-auth/src/main/java/io/smallrye/jwt/config/JWTAuthContextInfoProvider.java#L224

    @Inject
    @ConfigProperty(name = "mp.jwt.verify.publickey.algorithm")
    private Optional<SignatureAlgorithm> mpJwtPublicKeyAlgorithm;

This should be Optional<Set<SignatureAlgorithm>> mpJwtPublicKeyAlgorithms, so that JWT tokens can smoothly switch to another algorithm.

Dieken avatar Dec 06 '23 12:12 Dieken