Allow configurable HTTP client for oauth2-client flows #5601
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
type: enhancement
A general enhancement
Milestone
We need to provide the capability for user's to configure the underlying HTTP client used in the various
oauth2-client
flows. For example, the user may need to set custom parameters and/or headers in the request to the/oauth2/token
endpoint.Providing a
setRestOperations(restOperations)
method in the classes that implement the specificoauth2-client
flows should meet this requirement.The tasks below compromise the
oauth2-client
flows:@Bean
to be used as default for oauth2-client flowsThe text was updated successfully, but these errors were encountered: