Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Minor

Christian Bauer2b1d6a5b93cf
diff --git a/docker-compose-demo.yml b/docker-compose-demo.yml
index cba37ce35..e0ea8a575 100644
--- a/docker-compose-demo.yml
+++ b/docker-compose-demo.yml
@@ -11,8 +11,8 @@ services:
IMPORT_SAMPLE_DATA: 'true'
WEBSERVER_LISTEN_HOST: 0.0.0.0
WEBSERVER_LISTEN_PORT: 8080
- CONTEXT_BROKER_HOST: orion
- CONTEXT_BROKER_PORT: 1026
+ CONTEXTBROKER_HOST: orion
+ CONTEXTBROKER_PORT: 1026
IDENTITY_NETWORK_HOST: demo2.openremote.com
IDENTITY_NETWORK_WEBSERVER_PORT: 80
KEYCLOAK_HOST: keycloak
diff --git a/manager/src/main/java/org/openremote/manager/client/service/SecurityServiceImpl.java b/manager/src/main/java/org/openremote/manager/client/service/SecurityServiceImpl.java
index 8bc102c82..5a4708323 100644
--- a/manager/src/main/java/org/openremote/manager/client/service/SecurityServiceImpl.java
+++ b/manager/src/main/java/org/openremote/manager/client/service/SecurityServiceImpl.java
@@ -54,10 +54,8 @@ public class SecurityServiceImpl implements SecurityService {
@Override
public void logout() {
- // Keycloak generates an invalid redirect URI as redirects are defined
- // against client in keycloak admin console only valid URI is /master
LogoutOptions opts = new LogoutOptions();
- opts.redirectUri = "/master";
+ opts.redirectUri = "/" + getRealm();
keycloak.logout(opts);
}
diff --git a/manager/src/main/java/org/openremote/manager/server/assets/AssetsService.java b/manager/src/main/java/org/openremote/manager/server/assets/AssetsService.java
index 297c1f54f..aa75583b3 100644
--- a/manager/src/main/java/org/openremote/manager/server/assets/AssetsService.java
+++ b/manager/src/main/java/org/openremote/manager/server/assets/AssetsService.java
@@ -108,7 +108,7 @@ public class AssetsService implements ContainerService {
return true;
throw new WebApplicationException("Context broker not available");
}).retryWhen(
- new RetryWithDelay("Connecting to context broker" + contextBrokerHostUri.build(), 10, 3000)
+ new RetryWithDelay("Connecting to context broker: " + contextBrokerHostUri.build(), 10, 3000)
).toBlocking().singleOrDefault(false);
}