MSAL

link - github.com/OfficeDev/PnP-OfficeAddins/tree/master/Samples/auth/Office-Add-in-Microsoft-Graph-React


MSAL - Microsoft Identity Platform v2.0

Microsoft Authentication Library
MSAL.js
Work and School accounts AND Personal accounts (Microsoft account) AND Social accounts (Facebook, Google)
Uses version 2 endpoint



MSAL - Version 2.0.0 - @azure/msal-browser
Uses OAuth 2.0 with PKCE
link - npmjs.com/package/@azure/msal-browser


Both these samples uses the method GetAccount() which was removed in 2.00-beta.3
link - github.com/Azure-Samples/ms-identity-javascript-v2
link - github.com/Azure-Samples/active-directory-b2c-javascript-msal-singlepageapp


Javascript browser based single page applications
Enables your app to get tokens to access Microsoft Graph.
Does not support 'implicit grant flow'


MSAL - Version 1.0.0 - @msal
Uses OAuth 2.0 Implicit Flow
link - npmjs.com/package/msal
link - github.com/AzureAD/microsoft-authentication-library-for-js/issues/1072
link - github.com/OfficeDev/PnP-OfficeAddins/tree/master/Samples/auth/Office-Add-in-Microsoft-Graph-React
There is also a "@azure/msal" but this package is not kept in sync with this one and is not kept up-to-date with the latest changes.



© 2021 Better Solutions Limited. All Rights Reserved. © 2021 Better Solutions Limited TopPrevNext