Skip to content

create new field in ClientRegistration (e.g. "alwaysPkce") to enable PKCE for confidential clients #12219

Closed
@drahkrub

Description

@drahkrub

Since #6548 it is possible to enable PKCE for confidential clients - great!

Unfortunately, this can only be configured in a programmatic way.

It would be nice to encode this information ("use PKCE for confidential clients, yes or no") inside the ClientRegistration, such that it is handled automatically per client.

The current programmatic configuration seems to force the usage of some custom OAuth2AuthorizationRequestResolver (which delegates to a customized or uncustomized version of DefaultOAuth2AuthorizationRequestResolver) if different confidential clients need different pkce handling.

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