Skip to content

Commit

Permalink
Merge pull request #115 from Toilal/master
Browse files Browse the repository at this point in the history
Make realmSecretResolver really optional, closes #114
  • Loading branch information
ferrerojosh authored Feb 25, 2022
2 parents 8113200 + 81ed22c commit 93a29c9
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 @@ -38,7 +38,7 @@ export class KeycloakMultiTenantService {
}

// Resolve realm secret
const realmSecret = this.keycloakOpts.multiTenant?.realmSecretResolver(
const realmSecret = this.keycloakOpts.multiTenant?.realmSecretResolver?.(
realm,
);
// Override secret
Expand Down

0 comments on commit 93a29c9

Please sign in to comment.