Skip to content

Add NimbusJwtDecoder#withIssuerLocation #10309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jzheaux opened this issue Sep 21, 2021 · 1 comment
Closed

Add NimbusJwtDecoder#withIssuerLocation #10309

jzheaux opened this issue Sep 21, 2021 · 1 comment
Assignees
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) type: enhancement A general enhancement
Milestone

Comments

@jzheaux
Copy link
Contributor

jzheaux commented Sep 21, 2021

Related #8885, #9904 (comment)

It would be nice to be able to provide an issuer location to NimbusJwtDecoder instead of a JWK Set URI.

It would allow the issuer discovery to share the same RestOperations/WebClient as the decode method does. Since the JWK Set is cached, this will save a call to the authorization server and also allow the RestOperations and WebClient used for issuer discovery to be configured.

This should be added for both NimbusJwtDecoder and NimbusReactiveJwtDecoder.

@jzheaux jzheaux added status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement labels Sep 21, 2021
@jzheaux jzheaux self-assigned this Sep 21, 2021
@sjohnr sjohnr added in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 22, 2021
@jgrandja
Copy link
Contributor

@jzheaux Please see this comment as a potential alternative to this issue. Any feedback would be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

4 participants