Skip to content

Provide a way to pass a cache in JwtDecoders #8885

Closed
@nicolas-teck-mox

Description

@nicolas-teck-mox

Summary

Module: spring-security-oauth2-jose
Version: 5.4.0-M2

Thanks to this PR, we are now able to pass our own custom cache to store JWK set. However there is no way to pass this cache from JwtDecoders methods

Current Behavior

Currently only the oidc issuer location can be use to create a JwtDecoder. There is no other configuration that can be provided.

JwtDecoders.fromOidcIssuerLocation(uri)

Expected Behavior

Would it be possible to pass the custom cache to this method so it can get pass downstream?

Metadata

Metadata

Assignees

Labels

in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions