Skip to content
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.

Getting started with MSAL.js

  1. Understand Single Page Application scenarios
  2. Register your app with Azure AD
  3. Initialize your application
  4. Acquire tokens to access Web APIs
  5. Review vanillaJS and Angular quickstart guides.

Supported OAuth 2.0 Grant Types

To sign-in users and acquire access tokens:

Roadmap

Releases