Allow configurable RestOperations for DefaultOAuth2UserService #5600
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
type: enhancement
A general enhancement
Milestone
DefaultOAuth2UserService
uses Nimbus's HTTP Client internally to retrieve theUserInfo
resource.We should re-factor to use
RestOperations
instead and additionally expose aDefaultOAuth2UserService.setRestOperations(restOperations)
to allow user's the ability to supply a pre-configuredRestOperations
that are capable of adding custom parameters and/or headers.Related #5601
The text was updated successfully, but these errors were encountered: