What is the difference between ADAL.js and MSAL.js?

巧了我就是萌 提交于 2020-01-12 13:56:52

问题


I am trying to handle authentication for my app which uses Microsoft Graph.

What is the difference between these two libraries?

  • Active Directory Authentication Library for JavaScript (ADAL.js)

  • Microsoft Authentication Library for JavaScript (MSAL.js)

Is ADAL.js just an Angular 1 library of MSAL.js?


回答1:


MSAL.js works with the AzureAD V2 endpoint, whereas ADAL.js works with the AzureAD V1 endpoint. The V1 endpoint supports work accounts, but not personal accounts. The V2.0 endpoint is the unification of Microsoft personal accounts and work accounts into a single authentication system. Finally, with msal.js you can also get authentications for Azure AD B2C.



来源:https://stackoverflow.com/questions/45526652/what-is-the-difference-between-adal-js-and-msal-js

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!