Update default redirect-uri to use 'baseUrl' template variable

Fixes gh-4826
This commit is contained in:
Joe Grandja
2017-11-15 14:18:23 -05:00
parent 1d9b0760d5
commit e098c3707e
6 changed files with 11 additions and 11 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/code/{registrationId}";
private static final String DEFAULT_LOGIN_REDIRECT_URL = "{baseUrl}/login/oauth2/code/{registrationId}";
@Test
public void getBuilderWhenGoogleShouldHaveGoogleSettings() throws Exception {