AzureAD

    AzureAD/microsoft-authentication-library-for-js

    Microsoft Authentication Library (MSAL) for JS

    authentication
    TypeScript
    MIT
    4.1K stars
    2.7K forks
    4.1K GitHub watchers
    Updated Nov 1, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 5 days ago, with 216 contributors on GitHub.

    Gained 22% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Enables JavaScript applications to authenticate users and acquire tokens using Microsoft Identity platform and Azure AD services.
    • Provides comprehensive support for multiple OAuth 2.0 flows and identity providers including Azure AD, Microsoft accounts, and social logins.
    • Use for implementing secure user sign-in and token acquisition in single-page applications with React or Angular frameworks.
    • Use for server-side Node.js applications requiring OAuth 2.0 authentication and token management with Microsoft Identity platform.
    • Use for integrating native authentication experiences in JavaScript apps with customizable sign-in and sign-up flows using Azure AD B2C.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    The Microsoft Authentication Library for JavaScript enables both client-side and server-side JavaScript applications to authenticate users using Azure AD for work and school accounts (AAD), Microsoft personal accounts (MSA), and social identity providers like Facebook, Google, LinkedIn, Microsoft accounts, etc. through Azure AD B2C service. It also enables your app to get tokens to access Microsoft Cloud services such as Microsoft Graph.

    The lib folder contains the source code for our libraries in active development. You will also find all the details about installing the libraries in their respective README.md.

    Excerpt from the AzureAD/microsoft-authentication-library-for-js README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    2.7K-2

    Open issues

    216+13

    Compared with peers in Authentication

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    AzureAD/microsoft-authentication-library-for-js compared with Authentication repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    tailscale/tailscale38.7K+378653 days ago
    supabase/supabase114.6K+2686090 days ago
    sahat/hackathon-starter35.3K—41263 days ago
    flipped-aurora/gin-vue-admin25.1K—59111 days ago
    InsForge/InsForge13.2K—653 days ago
    AzureAD/microsoft-authentication-library-for-js4.1K—605 days ago
    Category median35.3K+32360—

    Discover Repositories

    Search across tracked repositories by name or description