简体   繁体   中英

MSAL.js for API calls from AngularJS with Azure AD Authentication

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:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM