Ross ROSS = Recommend OSS · open-source software intelligence for agents

AzureAD/microsoft-authentication-library-for-js

Microsoft Authentication Library (MSAL) for JS observed · 2026-08-28

github.com/AzureAD/microsoft-authentication-library-for-js · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

95/100

  • Activity 99
  • Release rhythm 86
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 0
  • age_days: 3477
  • days_rel: 15
  • days_push: 7
  • n_releases_24m: 376

Full methodology

Adoption not part of the score

4115 stars · 2719 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Microsoft Authentication Library (MSAL) for JavaScript enables client-side and server-side JS apps to authenticate users with Microsoft Entra ID, personal Microsoft accounts, and social identity providers via Azure AD B2C. It implements OAuth 2.0 and OpenID Connect flows and acquires tokens for accessing Microsoft Cloud services like Microsoft Graph.

Use cases

  • add microsoft sign-in to a react app
  • authenticate users with azure ad in a node.js server
  • get access tokens for microsoft graph api
  • implement oauth2 authorization code flow with pkce in the browser
  • support social login via azure ad b2c
  • acquire tokens silently with refresh tokens
  • implement device code login for cli apps

When to choose

  • your app needs Microsoft identity platform authentication (Entra ID, MSA, B2C)
  • you want an official, OpenID-compliant OAuth2 library maintained by Microsoft
  • you need token acquisition and caching for calling Microsoft Graph or other Microsoft Cloud APIs

When to avoid

  • you authenticate against non-Microsoft identity providers only (e.g., Auth0, Keycloak, generic OIDC)
  • you need authentication for non-JavaScript platforms
  • you want a lightweight generic OAuth library without Microsoft-specific integration

Facets

library · maturity active

auth sdk http-client security web-development apis developer-tools browser cross-platform oauth2 openid-connect microsoft-entra-id azure-ad pkce token-acquisition sso b2c nodejs javascript typescript

1 source

Member repositories

For agents

markdown · JSON · MCP: product_card(name="AzureAD/microsoft-authentication-library-for-js")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem