-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Home
Thomas Norling edited this page Apr 10, 2021
·
57 revisions
The Microsoft Authentication Library of JavaScript (MSAL.JS) is a token based authentication library for Single Page Applications. MSAL.JS enables you to acquire tokens from Azure AD to authenticate users and access Microsoft APIs such as Microsoft Graph or any API registered with Azure AD. MSAL.JS authenticate users with work or school accounts in Azure AD(AAD), Microsoft personal accounts (MSA) and accounts with social identity providers like Facebook, Google, Micosoft Accounts, etc. through Azure AD B2C service.
- Understand Single Page Application scenarios
- Register your app with Azure AD
- Initialize your application
- Acquire tokens to access Web APIs
- Review vanillaJS and Angular quickstart guides.
To sign-in users and acquire access tokens:
- MSAL.js v1.x implements OAuth 2.0 Implicit Grant Flow.
- MSAL.js v2.x implements OAuth 2.0 Authorization Code Flow with PKCE.
- Click here to view the roadmap.
- Click here to view release.