OAuth2LoginAuthenticationFilter processes uri /login/oauth2/code/*

Issue gh-4687
This commit is contained in:
Joe Grandja
2017-10-26 12:09:47 -04:00
parent 54547f35b7
commit 942b647c0d
6 changed files with 15 additions and 15 deletions

View File

@@ -31,7 +31,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*/
public class CommonOAuth2ProviderTests {
private static final String DEFAULT_LOGIN_REDIRECT_URL = "{scheme}://{serverName}:{serverPort}{contextPath}/login/oauth2/{registrationId}";
private static final String DEFAULT_LOGIN_REDIRECT_URL = "{scheme}://{serverName}:{serverPort}{contextPath}/login/oauth2/code/{registrationId}";
@Test
public void getBuilderWhenGoogleShouldHaveGoogleSettings() throws Exception {