Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Msal2Provider: add support for @azure/msal-browser 3.x #3158

Open
alecrt opened this issue Apr 10, 2024 · 0 comments
Open

Msal2Provider: add support for @azure/msal-browser 3.x #3158

alecrt opened this issue Apr 10, 2024 · 0 comments

Comments

@alecrt
Copy link

alecrt commented Apr 10, 2024

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'.

@github-project-automation github-project-automation bot moved this to Needs Triage 🔍 in Graph Toolkit Apr 10, 2024
@alecrt alecrt changed the title Msal2Provider support for @azure/msal-browser 3.x Msal2Provider: add support for @azure/msal-browser 3.x Apr 11, 2024
@gavinbarron gavinbarron moved this from Needs Triage 🔍 to Proposed 💡 in Graph Toolkit May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Proposed 💡
Development

No branches or pull requests

2 participants