OAuth2 login url starts with /login/

Fixes gh-4659
This commit is contained in:
Joe Grandja
2017-10-19 17:32:21 -04:00
parent d4dac21ca5
commit eb82a79068
3 changed files with 3 additions and 2 deletions

View File

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