github auth0/auth0-react v2.0.0

latest releases: v2.8.0, v2.7.0, v2.6.0...
2 years ago

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 in favour of openUrl
  • 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.

Don't miss a new auth0-react release

NewReleases is sending notifications on new releases.