Skip to content

Allow configurable RestOperations for CustomUserTypesOAuth2UserService #5602

Closed
@jgrandja

Description

@jgrandja

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

We should re-factor to use RestOperations instead and additionally expose a CustomUserTypesOAuth2UserService.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