You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Msal2Provider actually depends on @azure/msal-browser version 2.x.
This makes it not usable with version 3.x.
Example: const app = new PublicClientApplication(msalConfig); Providers.globalProvider = new Msal2Provider({publicClientApplication: app });
Something like that fails in Angular application since type 'import("node_modules/@azure/msal-browser/dist/app/PublicClientApplication").PublicClientApplication' is not assignable to type 'import("node_modules/@microsoft/mgt-msal2-provider/node_modules/@azure/msal-browser/dist/app/PublicClientApplication").PublicClientApplication'.
The text was updated successfully, but these errors were encountered:
Msal2Provider actually depends on @azure/msal-browser version 2.x.
This makes it not usable with version 3.x.
Example:
const app = new PublicClientApplication(msalConfig); Providers.globalProvider = new Msal2Provider({publicClientApplication: app });
Something like that fails in Angular application since type 'import("node_modules/@azure/msal-browser/dist/app/PublicClientApplication").PublicClientApplication' is not assignable to type 'import("node_modules/@microsoft/mgt-msal2-provider/node_modules/@azure/msal-browser/dist/app/PublicClientApplication").PublicClientApplication'.
The text was updated successfully, but these errors were encountered: