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

auth0/auth0-spa-js

Auth0 authentication for Single Page Applications (SPA) with PKCE observed · 2026-09-03

github.com/auth0/auth0-spa-js · TypeScript · MIT (permissive) observed · 2026-09-03

Health v2 · maintenance only

98/100

  • Activity 100
  • Release rhythm 95
  • 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: 7.0
  • age_days: 2709
  • days_rel: 36
  • days_push: 0
  • n_releases_24m: 39

Full methodology

Adoption not part of the score

1009 stars · 429 forks observed · 2026-09-03

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

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.

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

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

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

Facets

library · maturity active

auth authorization sdk web-development frontend security apis browser auth0 oauth2 openid-connect pkce single-page-applications typescript token-management login session-management javascript nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
auth0/auth0-spa-jsmain98

For agents

markdown · JSON · MCP: product_card(name="auth0/auth0-spa-js")

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