Skip to content

v2.0.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@auth0-oss auth0-oss released this 13 Dec 09:36
· 11 commits to beta since this release
4f90251

Description

Auth0-React v2 includes many significant changes compared to v1:

  • Removal of polyfills from bundles
  • Introduction of authorizationParams and logoutParams for properties sent to Auth0
  • Removal of buildAuthorizeUrl and buildLogoutUrl
  • Removal of redirectMethod on loginWithRedirect in favour of openUrl
  • Removal of localOnly from logout
  • Renaming of ignoreCache to cacheMode and introduction of cache-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 on withAuthenticationRequired

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.

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not the default branch