Configure audience of JWT in PRIVATE_KET_JWT client authentication #10530
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
status: duplicate
A duplicate of another issue
type: enhancement
A general enhancement
Expected Behavior
although rfc7523#section-3 say the token url MAY be used as the aud claim values, it's not required to be this value, some systems expect this to be the issuer url rather than the token endpoint url.
could we provide an override
Function<ClientRegistration, String>
that extracts the desired value from the registration?Current Behavior
NimbusJwtClientAuthenticationParametersConverter
Context
Integrating with Forgerock as an IDP using PRIVATE_KET_JWT client where the
aud
claim of the signed jwt is expected to be the issuer urlThe text was updated successfully, but these errors were encountered: