Skip to content

armgit / core

Public Imported from GitHub
0

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

Removed "forced login" on Keycloak init, this was causing iOS console to never use token for "auto login"

Eric Bariaux073b80f8a86f
diff --git a/manager/client/src/main/webapp/js/auth.js b/manager/client/src/main/webapp/js/auth.js
index 56e679264..d846409e7 100644
--- a/manager/client/src/main/webapp/js/auth.js
+++ b/manager/client/src/main/webapp/js/auth.js
@@ -17,7 +17,7 @@ window.startKeycloakAuthentication = function (realm, successCallback, failureCa
clientId: "openremote"
};
window.keycloak = Keycloak(keycloakConfig);
- window.keycloak.init({onLoad: 'login-required'})
+ window.keycloak.init()
.success(function (authenticated) {
if (authenticated) {
console.log("Keycloak authentication successful...");