Skip to content

Allow configurable RestOperations for CustomUserTypesOAuth2UserService #5602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jgrandja opened this issue Jul 30, 2018 · 0 comments
Closed
Assignees
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) type: enhancement A general enhancement
Milestone

Comments

@jgrandja
Copy link
Contributor

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

@jgrandja jgrandja added type: enhancement A general enhancement Refactoring in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) labels Jul 30, 2018
@jgrandja jgrandja added this to the 5.1.0.RC1 milestone Jul 30, 2018
@jgrandja jgrandja self-assigned this Jul 30, 2018
@jgrandja jgrandja modified the milestones: General Backlog, 5.1.0.RC2 Aug 21, 2018
jgrandja added a commit to jgrandja/spring-security that referenced this issue Aug 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants