MSAL 2.0, msal-browser 2.9.0, PublicClientApplication is not implementing setActiveAccount and getActiveAccount methods from interface IPublicClientApplication

See original GitHub issue

Library

  • @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:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
jo-arroyocommented, Jan 19, 2021

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

0reactions
Hamedfalcommented, Jan 20, 2021

issue resolved

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found