Closed
Description
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.