From ceeb087dbdd6a7f6a823727ba09882854d46fa7b Mon Sep 17 00:00:00 2001 From: stianst Date: Fri, 11 Oct 2019 11:41:14 +0200 Subject: [PATCH] KEYCLOAK-8938 TypeError: kc.login(...).success is not a function --- adapters/oidc/js/src/main/resources/keycloak.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/adapters/oidc/js/src/main/resources/keycloak.js b/adapters/oidc/js/src/main/resources/keycloak.js index ed0a03da31..03926a2a1a 100755 --- a/adapters/oidc/js/src/main/resources/keycloak.js +++ b/adapters/oidc/js/src/main/resources/keycloak.js @@ -1297,17 +1297,17 @@ return { login: function(options) { window.location.replace(kc.createLoginUrl(options)); - return createPromise().promise; + return createPromise(false).promise; }, logout: function(options) { window.location.replace(kc.createLogoutUrl(options)); - return createPromise().promise; + return createPromise(false).promise; }, register: function(options) { window.location.replace(kc.createRegisterUrl(options)); - return createPromise().promise; + return createPromise(false).promise; }, accountManagement : function() {