Auth0 SDK for React Single Page Applications (SPA)
Changed
Fixed
Fixed
Changed
Fixed
Added
Fixed
Changed
Added
Fixed
Auth0-React v2 includes many significant changes compared to v1:
authorizationParams
and logoutParams
for properties sent to Auth0buildAuthorizeUrl
and buildLogoutUrl
redirectMethod
on loginWithRedirect
in favour of openUrl
localOnly
from logout
in favour of openUrl
ignoreCache
to cacheMode
and introduction of cache-only
application/x-www-form-urlencoded
by defaultadvancedOptions.defaultScope
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.