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;