100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
UI Bugfix to respect OR_KEYCLOAK_PUBLIC_URI in frontend apps (#1930)
Rich Turner2ade3c3e9d9c
diff --git a/ui/component/core/src/index.ts b/ui/component/core/src/index.tsindex 5106eb3d0..69a52f99b 100644--- a/ui/component/core/src/index.ts+++ b/ui/component/core/src/index.ts@@ -100,10 +100,6 @@ export function normaliseConfig(config: ManagerConfig): ManagerConfig {normalisedConfig.managerUrl = normalisedConfig.managerUrl.replace(/\/+$/, "");}- if (!normalisedConfig.keycloakUrl || normalisedConfig.keycloakUrl === "") {- normalisedConfig.keycloakUrl = normalisedConfig.managerUrl + "/auth";- }-if (!normalisedConfig.realm || normalisedConfig.realm === "") {// Assume master realmnormalisedConfig.realm = "master";