Description
Auth0-React v2 includes many significant changes compared to v1:
- Removal of polyfills from bundles
- Introduction of
authorizationParamsandlogoutParamsfor properties sent to Auth0 - Removal of
buildAuthorizeUrlandbuildLogoutUrl - Removal of
redirectMethodonloginWithRedirectin favour ofopenUrl - Removal of
localOnlyfromlogoutin favour ofopenUrl - Renaming of
ignoreCachetocacheModeand introduction ofcache-only - Use
application/x-www-form-urlencodedby default - Do not fallback to refreshing tokens via iframe by default
- Changes to default scopes and removal of
advancedOptions.defaultScope - Removal of
claimCheckonwithAuthenticationRequired
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.