v2.0.0
Description
Auth0-React v2 includes many significant changes compared to v1:
- Removal of polyfills from bundles
- Introduction of
authorizationParams
andlogoutParams
for properties sent to Auth0 - Removal of
buildAuthorizeUrl
andbuildLogoutUrl
- Removal of
redirectMethod
onloginWithRedirect
in favour ofopenUrl
- Removal of
localOnly
fromlogout
in favour ofopenUrl
- Renaming of
ignoreCache
tocacheMode
and introduction ofcache-only
- Use
application/x-www-form-urlencoded
by default - Do not fallback to refreshing tokens via iframe by default
- Changes to default scopes and removal of
advancedOptions.defaultScope
- Removal of
claimCheck
onwithAuthenticationRequired
As with any major version bump, v2 of Auth0-React contains a set of breaking changes. Please review the migration guide thoroughly to understand the changes required to migrate your application to v2.