Merge pull request #3376 from stianst/KEYCLOAK-1862

KEYCLOAK-1862
This commit is contained in:
Stian Thorgersen 2016-10-19 19:27:29 +02:00 committed by GitHub
commit af5e8f7b09

View file

@ -113,7 +113,7 @@ public class KeycloakDeploymentBuilder {
deployment.setClient(new HttpClientBuilder().build(adapterConfig));
}
if (adapterConfig.getAuthServerUrl() == null && (!deployment.isBearerOnly() || realmKeyPem == null)) {
throw new RuntimeException("You must specify auth-url");
throw new RuntimeException("You must specify auth-server-url");
}
deployment.setAuthServerBaseUrl(adapterConfig);
if (adapterConfig.getTurnOffChangeSessionIdOnLogin() != null) {