Skip to content

v2.0.0

Compare
Choose a tag to compare
@auth0-oss auth0-oss released this 19 Jan 13:08
182a266

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

  • Remove polyfills from bundles
  • Introduce authorizationParams and logoutParams to hold properties sent to Auth0
  • Remove buildAuthorizeUrl and buildLogoutUrl
  • Remove redirectMethod, and replace by openUrl
  • Remove localOnly from logout in favor of openUrl
  • Ensure logout returns an Onservable instead of a Promise
  • Rework ignoreCache to cacheMode and introduce cache-only
  • Use form-encoded data by default
  • Do not fallback to refreshing tokens via iframe method by default
  • getUser and getIdTokenClaims are removed
  • Remove advancedOptions.defaultScope and replace with scope

As with any major version bump, v2 of Auth0-Angular contains a set of breaking changes. Please review the migration guide thoroughly to understand the changes required to migrate your application to v2.