v2.0.0
Auth0-Angular v2 includes many significant changes compared to v1:
- Remove polyfills from bundles
- Introduce
authorizationParams
andlogoutParams
to hold properties sent to Auth0 - Remove
buildAuthorizeUrl
andbuildLogoutUrl
- Remove
redirectMethod
, and replace byopenUrl
- Remove
localOnly
fromlogout
in favor ofopenUrl
- Ensure
logout
returns an Onservable instead of a Promise - Rework
ignoreCache
tocacheMode
and introducecache-only
- Use form-encoded data by default
- Do not fallback to refreshing tokens via iframe method by default
getUser
andgetIdTokenClaims
are removed- Remove
advancedOptions.defaultScope
and replace withscope
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.