Skip to content

Missing support for urn:ietf:params:oauth:grant-type:jwt-bearer in ClientRegistrations #9828

Closed
@ThomasKasene

Description

@ThomasKasene

Describe the bug
It would appear ClientRegistrations.withProviderConfiguration does not yet support urn:ietf:params:oauth:grant-type:jwt-bearer:

if (grantTypes != null && !grantTypes.contains(GrantType.AUTHORIZATION_CODE)) {
	throw new IllegalArgumentException(
			"Only AuthorizationGrantType.AUTHORIZATION_CODE is supported. The issuer \"" + issuer
					+ "\" returned a configuration of " + grantTypes);
}

Related to gh-9780

Metadata

Metadata

Assignees

Labels

in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions