diff --git a/vue/sbc-common-components/package-lock.json b/vue/sbc-common-components/package-lock.json index d01057b5..fc292e91 100644 --- a/vue/sbc-common-components/package-lock.json +++ b/vue/sbc-common-components/package-lock.json @@ -1,12 +1,12 @@ { "name": "sbc-common-components", - "version": "4.0.8", + "version": "4.0.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "sbc-common-components", - "version": "4.0.8", + "version": "4.0.9", "license": "Apache-2.0", "dependencies": { "@mdi/font": "^4.5.95", diff --git a/vue/sbc-common-components/package.json b/vue/sbc-common-components/package.json index 63ecd2d4..245ea4a9 100644 --- a/vue/sbc-common-components/package.json +++ b/vue/sbc-common-components/package.json @@ -1,6 +1,6 @@ { "name": "sbc-common-components", - "version": "4.0.8", + "version": "4.0.9", "private": false, "description": "Common Vue Components to be used across BC Registries and Online Services.", "license": "Apache-2.0", diff --git a/vue/sbc-common-components/src/services/keycloak.services.ts b/vue/sbc-common-components/src/services/keycloak.services.ts index 171e5350..2e69ec03 100644 --- a/vue/sbc-common-components/src/services/keycloak.services.ts +++ b/vue/sbc-common-components/src/services/keycloak.services.ts @@ -35,7 +35,7 @@ class KeyCloakService { this.clearSession() const token = ConfigHelper.getFromSession(SessionStorageKeys.KeyCloakToken) || undefined const keycloakConfig = ConfigHelper.getKeycloakConfigUrl() - this.kc = Keycloak(keycloakConfig) + this.kc = new Keycloak(keycloakConfig) const kcLogin = this.kc.login this.kc.login = (options?: KeycloakLoginOptions) => { if (options) {