Error 1 : Bound mismatch: The type SecurityContext is not a valid substitute for the bounded parameter of the type JWKSource
Error 2 : Cannot infer type arguments for ImmutableJWKSet<>
I was expecting to progamatically replicate the keypair management system of OAuth2 Authorization server, but was thrown an error because of Bound mismatch of JWKSource<>