npm / @auth0/auth0-spa-js
@auth0/auth0-spa-js
What changed in @auth0/auth0-spa-js 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.
4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@auth0/auth0-spa-js 24 changes
Fixes and other changes 4
Falls back to memory when localStorage access throws, so storage can continue when localStorage is unavailable.
Preserves callback abort errors.
Passes the organization to _verifyIdToken during loginWithCustomTokenExchange.
Handles new session expiry errors.