Skip to content

Commit

Permalink
added wildcard for oauth processing filter url
Browse files Browse the repository at this point in the history
  • Loading branch information
aedelmann committed Jun 19, 2017
1 parent 70ddb07 commit 1d6a503
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected Filter ssoFilter() {
List<Filter> filters = new ArrayList<>();

OAuth2ClientAuthenticationProcessingFilter githubFilter = new OAuth2ClientAuthenticationProcessingFilter(
"/github/login");
"/**/authentication/login/github");
OAuth2RestTemplate githubTemplate = new OAuth2RestTemplate(github(), oauth2ClientContext);

AuthorizationCodeAccessTokenProvider authorizationCodeAccessTokenProvider = new AuthorizationCodeAccessTokenProvider();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ <h2>Sign in</h2>
</div>

<div>
<a href="github/login" class="btn btn-block btn-flat" style="text-align: left">
<a href="authentication/login/github" class="btn btn-block btn-flat" style="text-align: left">
<img src="images/github-social.png" alt="Github"/>&nbsp;Sign in using Github
</a>
</div>
Expand Down

0 comments on commit 1d6a503

Please sign in to comment.