Skip to content

Allow configurable RestOperations for DefaultOAuth2UserService #5600

Closed
@jgrandja

Description

@jgrandja

DefaultOAuth2UserService uses Nimbus's HTTP Client internally to retrieve the UserInfo resource.

We should re-factor to use RestOperations instead and additionally expose a DefaultOAuth2UserService.setRestOperations(restOperations) to allow user's the ability to supply a pre-configured RestOperations that are capable of adding custom parameters and/or headers.

Related #5601

Metadata

Metadata

Assignees

Labels

in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions