Allow customizing the strategy for resolving the principal in OAuth2ClientHttpRequestInterceptor
#15826
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
Milestone
Similar to
OAuth2ClientHttpRequestInterceptor.ClientRegistrationIdResolver
, we need a way to customize how the principal (Authentication
) is resolved. This is particularly important when applications are using theclient_credentials
grant type, which typically requires access tokens to be scoped to the application instead of the current user.Related gh-13588, gh-15299
The text was updated successfully, but these errors were encountered: