- changed status to wontfix
Make jwkSetURL optional.
Issue #389
wontfix
Hi,
We have a could application where we use a client for inter services communications. This client use discovery for that having in input a service id and an uri.
We have implemented our ResourceRetriever but the problem that we should pass an url to RemoteJWKSet which in our case not known as we have only service id and an uri (host, port and protocol unknown) so we have made a hack passing a fake url.
will be nice if at least we can pass null as jwkSetURL or a new constructor with only ResourceRetriever as parameter. This would clean our code. Thanks and best regards
Comments (1)
-
- Log in to comment
My suggestion is to override RemoteJWKSet or implement your own JWKSource to handle the URL discovery.
https://www.javadoc.io/doc/com.nimbusds/nimbus-jose-jwt/latest/com/nimbusds/jose/jwk/source/RemoteJWKSet.html