JwkSetUriJwtDecoderBuilder allows customizing the restOperations that is used to make calls to the authorization server. However, when using an issuerUri, using JwtDecoders.fromIssuerLocation, this customization doesn't look like it's possible. This issue in Spring Boot is the original issue for enabling these sort of customizations.