{"adoption": {"forks": 2719, "observed_at": "2026-08-28T04:08:35.793014+00:00", "stars": 4115}, "canonical_url": "https://ross.abutalabs.com/products/microsoft-authentication-library-for-js", "card": {"archived": false, "artifact_type": "library", "description": "Microsoft Authentication Library (MSAL) for JS", "domain": ["security", "web-development", "apis", "developer-tools"], "enriched": true, "function": ["auth", "sdk", "http-client"], "health_score": 100, "homepage": "http://aka.ms/aadv2", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["AzureAD/microsoft-authentication-library-for-js"], "name": "AzureAD/microsoft-authentication-library-for-js", "platform": ["browser", "cross-platform"], "pushed_at": "2026-08-26T22:58:01+00:00", "repo": "AzureAD/microsoft-authentication-library-for-js", "stars": 4115, "tags": ["oauth2", "openid-connect", "microsoft-entra-id", "azure-ad", "pkce", "token-acquisition", "sso", "b2c", "nodejs", "javascript", "typescript"], "topics": [], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/microsoft-authentication-library-for-js", "repo": "AzureAD/microsoft-authentication-library-for-js", "role": "main", "score": 95}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.793014+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:23:09.566615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7dbf9c5d495597d8b72fd0ea12ec6f07056d0046ced5b04d0b7dc3ca58ece06c", "fetched_at": "2026-08-28T04:08:35.793014+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.793014+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:23:09.566615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7dbf9c5d495597d8b72fd0ea12ec6f07056d0046ced5b04d0b7dc3ca58ece06c", "fetched_at": "2026-08-28T04:08:35.793014+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:23:09.566615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7dbf9c5d495597d8b72fd0ea12ec6f07056d0046ced5b04d0b7dc3ca58ece06c", "fetched_at": "2026-08-28T04:08:35.793014+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.793014+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.793014+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.793014+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:23:09.566615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7dbf9c5d495597d8b72fd0ea12ec6f07056d0046ced5b04d0b7dc3ca58ece06c", "fetched_at": "2026-08-28T04:08:35.793014+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.793014+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.793014+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:23:09.566615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7dbf9c5d495597d8b72fd0ea12ec6f07056d0046ced5b04d0b7dc3ca58ece06c", "fetched_at": "2026-08-28T04:08:35.793014+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.793014+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.793014+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.793014+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:23:09.566615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7dbf9c5d495597d8b72fd0ea12ec6f07056d0046ced5b04d0b7dc3ca58ece06c", "fetched_at": "2026-08-28T04:08:35.793014+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.793014+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.793014+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:23:09.566615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7dbf9c5d495597d8b72fd0ea12ec6f07056d0046ced5b04d0b7dc3ca58ece06c", "fetched_at": "2026-08-28T04:08:35.793014+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:23:09.566615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7dbf9c5d495597d8b72fd0ea12ec6f07056d0046ced5b04d0b7dc3ca58ece06c", "fetched_at": "2026-08-28T04:08:35.793014+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:23:09.566615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7dbf9c5d495597d8b72fd0ea12ec6f07056d0046ced5b04d0b7dc3ca58ece06c", "fetched_at": "2026-08-28T04:08:35.793014+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:23:09.566615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7dbf9c5d495597d8b72fd0ea12ec6f07056d0046ced5b04d0b7dc3ca58ece06c", "fetched_at": "2026-08-28T04:08:35.793014+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 86}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3477, "days_push": 7, "days_rel": 15, "gap_med": 0, "n_releases_24m": 376}, "score": 95, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}