Skip to content

Commit

Permalink
Merge pull request #142 from joravkumar/master
Browse files Browse the repository at this point in the history
fix: await is missing on resolveSecret func
  • Loading branch information
ferrerojosh committed Dec 16, 2022
2 parents 69080fc + 6c93345 commit f9184ee
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 f9184ee

Please sign in to comment.