awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
AzureAD avatar

AzureAD/microsoft-authentication-library-for-js

0
View on GitHub↗
4,084 stars·2,717 forks·TypeScript·MIT·16 viewsaka.ms/aadv2↗

Microsoft Authentication Library For Js

This project is an OAuth 2.0 client library and OpenID Connect SDK designed for integrating Microsoft identity platforms into JavaScript applications. It serves as a cross-platform authentication client for managing user identities and daemon services across browser-based and server-side environments.

The library provides tools for acquiring and managing JSON Web Tokens to secure access to protected web APIs. It supports various authentication flows, including single-page application authentication, server-side identity management in Node.js, and non-interactive authentication for background services.

Capabilities include the management of token caches with support for persistence and encryption. The toolkit also covers identity verification via corporate, personal, and social providers, as well as specialized flows such as device-code authentication and platform-broker integration.

Features

  • Microsoft Entra ID Authentications - Provides deep integration with Microsoft Entra ID for user identity verification using OIDC protocols.
  • JWT and Token Management - Offers utilities for acquiring, caching, and refreshing JSON Web Tokens to access protected resources.
  • Access Token Acquisition - Provides mechanisms to request secure access tokens for calling protected resources and web APIs.
  • Access Token Management - Provides tools for requesting, caching, and refreshing OAuth2 access tokens to secure API calls.
  • Daemon Application Authentications - Enables background services to authenticate and access protected APIs without user interaction using client credentials.
  • Client Credentials - Implements the OAuth 2.0 client credentials grant flow for non-interactive daemon application authentication.
  • Daemon Application Authentications - Implements non-interactive authentication paths for daemon applications using application-level secrets.
  • Azure AD Token Acquisitions - Provides specialized utilities for acquiring OAuth 2.0 tokens from Azure Active Directory.
  • User Identity Verification - Verifies user identities through corporate, personal, and social identity providers.
  • Identity Token Services - Implements industry-standard protocols for acquiring cryptographically signed identity tokens.
  • OAuth Token Exchanges - Handles the exchange of credentials and refresh tokens for short-lived access tokens via standard OAuth flows.
  • OAuth and OpenID Connect Libraries - Provides a comprehensive library for implementing OAuth 2.0 and OpenID Connect clients in JavaScript.
  • Identity Providers - Integrates with diverse identity providers to handle authentication and session management via OAuth2 and OIDC.
  • OIDC Client SDKs - Provides an SDK for verifying user identities and acquiring identity tokens via OpenID Connect protocols.
  • Refresh Token Grants - Implements the refresh token grant flow to obtain new access tokens without user interaction.
  • User Authentication Flows - Manages sign-in and identity verification flows for single-page and server-side web applications.
  • Single Page App Auth Flows - Handles user logins and secure session management for browser-based applications using industry standard flows.
  • Node.js Identity Management - Manages user authentication and secure token storage within Node.js environments for backend services.
  • Credential Authentication - Implements client-side management for acquiring tokens using application-level credentials.
  • Cross-Platform Auth Clients - Provides a consistent authentication client for managing sessions across browser and server-side JavaScript environments.
  • Device Authentication Flows - Provides the device authorization grant flow for authenticating users on input-constrained devices.
  • Pluggable Token Persistence - Offers a pluggable interface to persist authentication tokens in browser local storage or custom databases.
  • Cache Encryption - Secures authentication tokens stored in browser caches using encryption to protect sensitive data.
  • Authentication Token Caching - Provides local storage and caching of authentication tokens to maintain user sessions.
  • Authentication and Authorization - Authenticates users via Microsoft services.

Star history

Star history chart for azuread/microsoft-authentication-library-for-jsStar history chart for azuread/microsoft-authentication-library-for-js

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does azuread/microsoft-authentication-library-for-js do?

This project is an OAuth 2.0 client library and OpenID Connect SDK designed for integrating Microsoft identity platforms into JavaScript applications. It serves as a cross-platform authentication client for managing user identities and daemon services across browser-based and server-side environments.

What are the main features of azuread/microsoft-authentication-library-for-js?

The main features of azuread/microsoft-authentication-library-for-js are: Microsoft Entra ID Authentications, JWT and Token Management, Access Token Acquisition, Access Token Management, Daemon Application Authentications, Client Credentials, Azure AD Token Acquisitions, User Identity Verification.

What are some open-source alternatives to azuread/microsoft-authentication-library-for-js?

Open-source alternatives to azuread/microsoft-authentication-library-for-js include: teamhanko/hanko — Hanko is an open-source identity provider and customer identity and access management system. It serves as a passkey… lepture/authlib — Authlib is a comprehensive Python framework for implementing OAuth 1.0, OAuth 2.0, and OpenID Connect clients and… thephpleague/oauth2-server — This project is a PHP library for implementing a spec-compliant OAuth 2.0 authorization server. It serves as an… simov/grant — Grant is an OAuth authentication proxy that interfaces applications with third-party identity providers to manage… zitadel/zitadel — This project is a cloud-native identity and access management platform designed to centralize authentication,… openiddict/openiddict-core — This project is a .NET identity stack and server framework used to build certified OpenID Connect and OAuth 2.0…

Open-source alternatives to Microsoft Authentication Library For Js

Similar open-source projects, ranked by how many features they share with Microsoft Authentication Library For Js.
  • teamhanko/hankoteamhanko avatar

    teamhanko/hanko

    8,801View on GitHub↗

    Hanko is an open-source identity provider and customer identity and access management system. It serves as a passkey authentication service and an OAuth and SAML SSO gateway, allowing applications to authenticate users and issue tokens via standard identity protocols. The project distinguishes itself through a strong focus on passwordless access using WebAuthn-based passkeys and email-based passcodes. It provides framework-agnostic authentication interfaces as customizable web components that can be embedded directly into web applications to handle login, registration, and profile management.

    Go2faauthenticationciam
    View on GitHub↗8,801
  • lepture/authliblepture avatar

    lepture/authlib

    5,346View on GitHub↗

    Authlib is a comprehensive Python framework for implementing OAuth 1.0, OAuth 2.0, and OpenID Connect clients and servers. It provides a complete toolkit for identity management, spanning the development of authorization servers, resource servers, and client-side integrations. The library distinguishes itself through a full implementation of the JOSE specifications, including JSON Web Tokens, Encryption, Signatures, and Keys. It features specialized capabilities for non-interactive authentication via service account assertion frameworks and a compliance-correction layer designed to handle ide

    Python
    View on GitHub↗5,346
  • thephpleague/oauth2-serverthephpleague avatar

    thephpleague/oauth2-server

    6,650View on GitHub↗

    This project is a PHP library for implementing a spec-compliant OAuth 2.0 authorization server. It serves as an authentication framework for managing user identities and client authorizations, providing the necessary components to issue and validate access and refresh tokens. The server supports a wide range of standardized authorization flows, including authorization code exchange, device grants, implicit flows, and PKCE enforcement. It handles complex token lifecycles through refresh token rotation, scope management, and the use of asymmetric keys for signing digital tokens. The system pro

    PHPoauthoauth2oauth2-server
    View on GitHub↗6,650
  • simov/grantsimov avatar

    simov/grant

    4,174View on GitHub↗

    Grant is an OAuth authentication proxy that interfaces applications with third-party identity providers to manage handshakes and token exchanges through a transparent proxy layer. It provides a secure OAuth client implementation that validates OpenID Connect tokens and manages multi-provider identity under a unified configuration. The project differentiates itself through support for serverless authentication flows, allowing the proxy logic to be deployed as cloud functions. It implements advanced security mechanisms including Proof Key for Code Exchange and private key JWT authentication to

    JavaScriptauthenticationauthorizationaws
    View on GitHub↗4,174
  • See all 30 alternatives to Microsoft Authentication Library For Js→