From 6c9334512df13a141ecfea18de61662277bf29f5 Mon Sep 17 00:00:00 2001 From: joravkumar Date: Tue, 15 Nov 2022 18:42:06 +0530 Subject: [PATCH] fix: await is missing on resolveSecret func --- src/services/keycloak-multitenant.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/keycloak-multitenant.service.ts b/src/services/keycloak-multitenant.service.ts index e351e57..6690840 100644 --- a/src/services/keycloak-multitenant.service.ts +++ b/src/services/keycloak-multitenant.service.ts @@ -45,7 +45,7 @@ export class KeycloakMultiTenantService { if (this.instances.has(realm)) { if (this.keycloakOpts.multiTenant.resolveAlways) { const keycloak: any = this.instances.get(realm); - const secret = this.resolveSecret(realm); + const secret = await this.resolveSecret(realm); keycloak.config.secret = secret; keycloak.grantManager.secret = secret;