MSAL 2.0, msal-browser 2.9.0, PublicClientApplication is not implementing setActiveAccount and getActiveAccount methods from interface IPublicClientApplication
See original GitHub issueLibrary
-
@azure/msal-browser@2.9.0
-
@azure/msal-angular@2.0.0-alpha.3
Framework
- Angular
Description
Recent update of msal-browser (2.9.0) fixed could of errors, but is missing the implementation of setActiveAccount and getActiveAccount methods.
Identity Provider
- Azure AD
- Azure B2C Custom Policy
Browsers/Environment
- Chrome
- Firefox
- Edge
- Safari
- IE
- Other (Please add browser name here)
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
PublicClientApplication | microsoft-authentication-libraries-for-js
setActiveAccount. Sets the account to use as the active account. If no account is passed to the acquireToken APIs, then MSAL will use...
Read more >MSAL setActiveAccount from within function - Stack Overflow
So I'm in the process of setting up MSAL with AAD for my react project. ... msalInstance = new PublicClientApplication(msalConfig); function ...
Read more >Initialize MSAL.js client apps - Microsoft Entra
This article describes initializing the Microsoft Authentication Library for JavaScript (MSAL.js) with an instance of a user-agent application.
Read more >Working with MSAL and multiple Azure AD accounts in a ...
Let's unpack them one by one. First, we are using the MSAL react useMsalAuthentication hook to setup the authentication and get the login...
Read more >Azure AD authentication in angular using MSAL angular v2 ...
Oidc-client-js is a great library but is no longer maintained by the main author. Because of this, I have switched to MSAL angular...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Hamedfal @zebslc Can you try reinstalling
npm install @azure/msal-browser @azure/msal-angular
. We will make sure to update our samples so this no longer occurs.issue resolved