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

Add new configuration options for OAuth2LoginSpec #6462

Closed

Conversation

nickbr23
Copy link
Contributor

Improve Oauth2LoginSpec with:

OAuth2LoginSpec.authorizationRequestResolver(ServerOAuth2AuthorizationRequestResolver authorizationRequestResolver)
and
OAuth2LoginSpec.authenticationMatcher(ServerWebExchangeMatcher authenticationMatcher)

@pivotal-issuemaster
Copy link

@nickbr23 Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@nickbr23 Thank you for signing the Contributor License Agreement!

Copy link
Contributor

@jgrandja jgrandja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great @nickbr23. Can you please update the Copyright header and add tests in OAuth2LoginTests.

@@ -53,6 +53,7 @@
import org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationCodeGrantWebFilter;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update Copyright header to 2019

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done and updated the unit test in OAuth2LoginTests

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome thanks! This looks great and it's ready to be merged. But before we merge can you please squash to 1 commit and update the commit message to follow this format.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All done.

@jgrandja jgrandja added in: config An issue in spring-security-config type: enhancement A general enhancement Reactive in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) labels Jan 22, 2019
@jgrandja jgrandja added this to the 5.2.0.M2 milestone Jan 22, 2019
@jgrandja jgrandja changed the title GH-5598 Add new configuration options for OAuth2LoginSpec Add new configuration options for OAuth2LoginSpec Jan 23, 2019
@nickbr23 nickbr23 force-pushed the gh-5598-config-options branch from c0185e7 to a2b8943 Compare January 24, 2019 08:11
@jgrandja
Copy link
Contributor

Closed via b581bb7

@jgrandja jgrandja closed this Jan 24, 2019
@jgrandja
Copy link
Contributor

Thank you @nickbr23! The commit message didn't exactly follow the expected format. I updated it for you. Please take a look so you know for the next time. I also added javadoc. Thanks again for taking this on and I look forward to seeing some more contributions from you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: config An issue in spring-security-config 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

Successfully merging this pull request may close these issues.

3 participants