Closed Hamedfal closed 3 years ago
This occurs within the angular samples too. To replicate just clone the angular 10 or 11 projects in https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-angular-v2-samples/angular11-sample-app then run npm i
and look at home.component.ts
which shows the following.
@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.
Hi, this is still occurring - I uninstalled those two libraries first then re-installed and the same thing happens. Is there an interim fix or workaround for these as currently they are both broken?
I am trying to evaluate this library atm as MSAL 2 is recommended by your documentation here:- https://docs.microsoft.com/en-gb/azure/active-directory/develop/scenario-spa-app-registration#redirect-uri-msaljs-20-with-auth-code-flow
Sorry, just noticed you had the PR there too so I have manually incorporated those changes in my sample :-)
@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.
Thank you very much. It is working now.
issue resolved
Library
@azure/msal-browser@2.9.0
@azure/msal-angular@2.0.0-alpha.3
Framework
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
Browsers/Environment