Skip to content

Commit

Permalink
fix: await is missing on resolveSecret func
Browse files Browse the repository at this point in the history
  • Loading branch information
joravkumar committed Nov 15, 2022
1 parent 69080fc commit 6c93345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/keycloak-multitenant.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6c93345

Please sign in to comment.