Currently my application is using ADAL.js to get cached Azure AD token from angularJS application and call API methods of ASP.NET Core hosted.
Planning to migrate ADAL.JS to MSAL.js as support is stopped Ref
For AngularJS I am not able find reference documents for migration and also couldnt find any technical blogs for AngularJS. For other technologies its coming.
Help me on how to migrate ADAL.js to MSAL.js for Azure AD Authentication for AngularJS+ASP.NET Core application.
When migrating ADAL.js to MSAL.js, you need to use
@azure/msal-angular
that is based on Microsoft identity platform v2.0.There is an example using MSAL Angular and call a .NET Core web API.
For more details, see:
Migration guide to update to MSAL.js
Migrating applications to MSAL.NET