-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)status: duplicateA duplicate of another issueA duplicate of another issue
Description
Summary
Module: spring-security-oauth2-jose
There is no way to configure the RemoteJWKSet
cache lifespan even it actually allows a DefaultJWKSetCache
to be passed in because JwkSetUriJwtDecoderBuilder
class is final.
Actual Behavior
Currently, the way to build a JwtDecoder from a JWK set URI is:
NimbusJwtDecoder.withJwkSetUri(uri)
.jwsAlgorithms(algo)
.restOperations(restTemplate)
.build()
So, it means it is only flexible to the algorithm and the HTTP client and that's all.
Expected Behavior
I would like to know if it can be open by any chance so that I can inherit it and override the processor()
method for customization
Version
5.2.2.RELEASE
Metadata
Metadata
Assignees
Labels
in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)status: duplicateA duplicate of another issueA duplicate of another issue