JWT Validation using nimbus-jose-jwt 4.4. release

Issue #376 resolved
Mowrish Dev created an issue

Hi,

I am currently in the restriction of using nimbus-jose-jet-4.4.jar for my application to validate the access token. JWSKeySelector is to be provided to DefaultJWTProcessor inorder to process the token. And there is no class implementing the JWSKeySelector in this particular version. What would be an ideal solution here apart from upgradation of the jar?

Algorithm used = RS256

I am getting the JWKSet which contains the public key needed for validation from a JWKS Endpoint URL.