Skip to content

Commit

Permalink
fix: ensure msal public client application is initialized (#2702)
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinbarron authored Sep 6, 2023
1 parent a5aec5a commit b9fcfe7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/providers/mgt-msal2-provider/src/Msal2Provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ export class Msal2Provider extends IProvider {
} else {
throw new Error('either clientId or publicClientApplication must be provided');
}
await this._publicClientApplication.initialize();

this.ms_config.system = msalConfig.system || {};
this.ms_config.system.iframeHashTimeout = msalConfig.system.iframeHashTimeout || 10000;
Expand Down

0 comments on commit b9fcfe7

Please sign in to comment.