{"adoption": {"forks": 429, "observed_at": "2026-09-03T02:15:09.358599+00:00", "stars": 1009}, "canonical_url": "https://ross.abutalabs.com/products/auth0-spa-js", "card": {"archived": false, "artifact_type": "library", "description": "Auth0 authentication for Single Page Applications (SPA) with PKCE", "domain": ["web-development", "frontend", "security", "apis"], "enriched": true, "function": ["auth", "authorization", "sdk"], "health_score": 100, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["auth0/auth0-spa-js"], "name": "auth0/auth0-spa-js", "platform": ["browser"], "pushed_at": "2026-09-02T22:21:17+00:00", "repo": "auth0/auth0-spa-js", "stars": 1009, "tags": ["auth0", "oauth2", "openid-connect", "pkce", "single-page-applications", "typescript", "token-management", "login", "session-management", "javascript", "nodejs"], "topics": ["auth0-js", "pkce", "openid-connect", "oauth2", "spa", "dx-sdk", "javascript", "auth0"], "urls": [], "use_cases": ["add login to a single page application", "implement OAuth2 PKCE flow in a browser app", "renew access tokens silently in an SPA", "log users in with Auth0 universal login", "get user profile information after authentication", "handle logout and session management in an SPA"], "what_it_is": "Auth0's official JavaScript SDK for adding authentication to Single Page Applications using the Authorization Code Grant flow with PKCE. It provides login, logout, token renewal, and user profile retrieval via the Auth0 platform.", "when_to_avoid": ["you are not using Auth0 as your identity provider", "you are building a server-side or native mobile app (use the appropriate Auth0 SDK instead)", "you need a generic OAuth library not tied to Auth0"], "when_to_choose": ["you are building a SPA (React, Vue, vanilla JS) and use Auth0 as your identity provider", "you need a standards-compliant OAuth2/OIDC Authorization Code flow with PKCE in the browser", "you want silent token renewal and session handling handled for you"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/auth0-spa-js", "repo": "auth0/auth0-spa-js", "role": "main", "score": 98}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.358599+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:12:25.456388+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "41df23384dfcd6122a3572a712b2e60dfc951825ecc05caf9de2e68ebccb1033", "fetched_at": "2026-09-03T02:15:09.358599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/auth0/auth0-spa-js"}, {"content_hash": "e958768c845638a9782c36063ec4727ee9f7f20b25002968d238206304a8e6c4", "fetched_at": "2026-08-29T13:12:27.997389+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/auth0-spa-js"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.358599+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:12:25.456388+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "41df23384dfcd6122a3572a712b2e60dfc951825ecc05caf9de2e68ebccb1033", "fetched_at": "2026-09-03T02:15:09.358599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/auth0/auth0-spa-js"}, {"content_hash": "e958768c845638a9782c36063ec4727ee9f7f20b25002968d238206304a8e6c4", "fetched_at": "2026-08-29T13:12:27.997389+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/auth0-spa-js"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:12:25.456388+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "41df23384dfcd6122a3572a712b2e60dfc951825ecc05caf9de2e68ebccb1033", "fetched_at": "2026-09-03T02:15:09.358599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/auth0/auth0-spa-js"}, {"content_hash": "e958768c845638a9782c36063ec4727ee9f7f20b25002968d238206304a8e6c4", "fetched_at": "2026-08-29T13:12:27.997389+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/auth0-spa-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-09-03T02:15:09.358599+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.358599+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.358599+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:12:25.456388+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "41df23384dfcd6122a3572a712b2e60dfc951825ecc05caf9de2e68ebccb1033", "fetched_at": "2026-09-03T02:15:09.358599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/auth0/auth0-spa-js"}, {"content_hash": "e958768c845638a9782c36063ec4727ee9f7f20b25002968d238206304a8e6c4", "fetched_at": "2026-08-29T13:12:27.997389+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/auth0-spa-js"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.358599+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.358599+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:12:25.456388+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "41df23384dfcd6122a3572a712b2e60dfc951825ecc05caf9de2e68ebccb1033", "fetched_at": "2026-09-03T02:15:09.358599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/auth0/auth0-spa-js"}, {"content_hash": "e958768c845638a9782c36063ec4727ee9f7f20b25002968d238206304a8e6c4", "fetched_at": "2026-08-29T13:12:27.997389+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/auth0-spa-js"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.358599+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.358599+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.358599+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:12:25.456388+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "41df23384dfcd6122a3572a712b2e60dfc951825ecc05caf9de2e68ebccb1033", "fetched_at": "2026-09-03T02:15:09.358599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/auth0/auth0-spa-js"}, {"content_hash": "e958768c845638a9782c36063ec4727ee9f7f20b25002968d238206304a8e6c4", "fetched_at": "2026-08-29T13:12:27.997389+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/auth0-spa-js"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.358599+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.358599+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:12:25.456388+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "41df23384dfcd6122a3572a712b2e60dfc951825ecc05caf9de2e68ebccb1033", "fetched_at": "2026-09-03T02:15:09.358599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/auth0/auth0-spa-js"}, {"content_hash": "e958768c845638a9782c36063ec4727ee9f7f20b25002968d238206304a8e6c4", "fetched_at": "2026-08-29T13:12:27.997389+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/auth0-spa-js"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:12:25.456388+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "41df23384dfcd6122a3572a712b2e60dfc951825ecc05caf9de2e68ebccb1033", "fetched_at": "2026-09-03T02:15:09.358599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/auth0/auth0-spa-js"}, {"content_hash": "e958768c845638a9782c36063ec4727ee9f7f20b25002968d238206304a8e6c4", "fetched_at": "2026-08-29T13:12:27.997389+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/auth0-spa-js"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:12:25.456388+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "41df23384dfcd6122a3572a712b2e60dfc951825ecc05caf9de2e68ebccb1033", "fetched_at": "2026-09-03T02:15:09.358599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/auth0/auth0-spa-js"}, {"content_hash": "e958768c845638a9782c36063ec4727ee9f7f20b25002968d238206304a8e6c4", "fetched_at": "2026-08-29T13:12:27.997389+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/auth0-spa-js"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:12:25.456388+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "41df23384dfcd6122a3572a712b2e60dfc951825ecc05caf9de2e68ebccb1033", "fetched_at": "2026-09-03T02:15:09.358599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/auth0/auth0-spa-js"}, {"content_hash": "e958768c845638a9782c36063ec4727ee9f7f20b25002968d238206304a8e6c4", "fetched_at": "2026-08-29T13:12:27.997389+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/auth0-spa-js"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 100, "longevity": 100, "rhythm": 95}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2709, "days_push": 0, "days_rel": 36, "gap_med": 7.0, "n_releases_24m": 39}, "score": 98, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 3, "stale_scrape": false}}