Skip to content
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

oauth2Client Test Support should not require an HttpSessionOAuth2AuthorizedClientRepository #8603

Closed
jzheaux opened this issue May 27, 2020 · 0 comments
Assignees
Labels
in: test An issue in spring-security-test type: enhancement A general enhancement
Milestone

Comments

@jzheaux
Copy link
Contributor

jzheaux commented May 27, 2020

Expected Behavior

No extra OAuth2AuthorizedClientRepository should be required for oauth2Client test support to work with @RegisteredOAuth2AuthorizedClient.

Current Behavior

For oauth2Client() test support, and by association oauth2Login and oidcLogin, require that the OAuth2AuthorizedClientRepository in the application context be of type HttpSessionOAuth2AuthorizedClientRepository to work with @RegisteredOAuth2AuthorizedClient.

@jzheaux jzheaux added in: test An issue in spring-security-test type: enhancement A general enhancement labels May 27, 2020
@jzheaux jzheaux added this to the 5.4.0-M2 milestone May 27, 2020
@jzheaux jzheaux self-assigned this May 27, 2020
jzheaux added a commit to jzheaux/spring-security that referenced this issue May 27, 2020
jzheaux added a commit to jzheaux/spring-security that referenced this issue May 27, 2020
jzheaux added a commit to jzheaux/spring-security that referenced this issue May 27, 2020
jzheaux added a commit that referenced this issue May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test An issue in spring-security-test type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant