From df30e334f37c3de04940889f9d70e99d3ac565bb Mon Sep 17 00:00:00 2001 From: Aaron Chong Date: Tue, 30 Jul 2024 17:53:14 +0800 Subject: [PATCH] Using new constructor for kc Signed-off-by: Aaron Chong --- packages/rmf-auth/lib/keycloak.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rmf-auth/lib/keycloak.ts b/packages/rmf-auth/lib/keycloak.ts index a7c8d28cc..5f81b9e4e 100644 --- a/packages/rmf-auth/lib/keycloak.ts +++ b/packages/rmf-auth/lib/keycloak.ts @@ -30,7 +30,7 @@ export class KeycloakAuthenticator */ constructor(config: Keycloak.KeycloakConfig | string, silentCheckSsoRedirectUri?: string) { super(); - this._inst = Keycloak(config); + this._inst = new Keycloak(config); this._silentCheckSsoRedirectUri = silentCheckSsoRedirectUri; }