Auth0-SPA-JS v2 includes many significant changes compared to v1:
- Refactor module output and avoid default export #942 (frederikprijck)
- Do not throw from
checkSession
#943 (frederikprijck) - Rework
ignoreCache
tocacheMode
and introducecache-only
#950 (ewanharris) - Do not fallback to refreshing tokens via iframe method by default #946 (ewanharris)
- Use form-encoded data by default #945 (frederikprijck)
- Remove
getIdTokenClaimsOptions
type #960 (ewanharris) - Rename
client_id
toclientId
#956 (ewanharris) - Remove polyfills from bundles #951 (frederikprijck)
- Update output target to ES2017 #953 (frederikprijck)
- Introduce
authorizationParams
to hold properties sent to Auth0 #959 (ewanharris) - Do not build Common JS module with externals #971 (frederikprijck)
- De-dupe Id token; getUser and getIdTokenClaims no longer take any arguments #967 (frederikprijck)
- Remove
advancedOptions.defaultScope
and replace withscope
#972 (ewanharris) - Cache and return id token from memory #975 (ewanharris)
- Remove
buildAuthorizeUrl
#980 (frederikprijck) - Make
buildLogoutUrl
internal #982 (ewanharris) - Fix spelling mistakes in id token validation messages #940 (frederikprijck)
As with any major version bump, v2 of Auth0-SPA-JS contains a set of breaking changes. Please review the migration guide thoroughly to understand the changes required to migrate your application to v2.