// the take
auth0.js is Auth0's official browser SDK for talking directly to the Auth0 Authentication API: redirect/popup login, passwordless, SSO data, silent token renewal, and a thin Management API client. It's for teams that want direct control over OAuth2/OIDC flows and Auth0's hosted login page rather than a framework-specific wrapper like auth0-spa-js or auth0-react.
Wide protocol surface in one package — WebAuth, Authentication, Management, passwordless, cross-origin auth, and a Cordova plugin for hybrid apps. Ships both ESM and minified UMD builds. Backed by a real CI pipeline (CircleCI, CodeQL, Snyk, BrowserStack cross-browser runs) and Codecov-tracked test coverage across web-auth, authentication, and helper modules, which is more rigor than most browser SDKs this size get.
This is Auth0's legacy SDK — Auth0 itself now steers SPA users toward auth0-spa-js/auth0-react, which default to PKCE; auth0.js still centers on implicit-flow-era APIs like parseHash and iframe-based renewAuth. Silent auth renewal depends on third-party cookies in a hidden iframe, which Safari ITP and Chrome's cookie changes increasingly break — that's a platform problem no amount of maintenance fixes. No TypeScript definitions ship with the package, so TS users are on their own or reliant on community @types. The bundled Management client is intentionally thin (four methods: getUser, linkUser, patchUserAttributes, patchUserMetadata) — anything beyond basic profile edits means hitting the Management API directly.
We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →