yarn react-native-auth0 3.0.0-beta.2
v3.0.0-beta.2

latest releases: 4.0.0-beta.0, 3.2.1, 3.2.0...
14 months ago

v3.0.0-beta.2 (2023-07-10)

Full Changelog

💡 Check the Migration Guide to understand the changes required to migrate your application to v3.

Added

  • Credentials are returned as part of authorize methods in hooks
  • Added sample app in the repository
  • Expo plugin is updated to latest version
  • Added 'openid profile email' as mandatory scopes
  • Option to forceRefresh is added in getCredentials
  • Added hasValidCredentials to hooks
  • More options to authorize using Hooks
  • authorizeWithSMS
  • authorizeWithEmail
  • authorizeWithOOB
  • authorizeWithOTP
  • authorizeWithRecoveryCode

Changed

  • Custom Scheme is now optional in Expo
  • Migrated the codebase to Typescript
  • Use Native SDKs (Auth0.Android and Auth0.Swift) for Web Authentication
  • Credentials object in Android will return expiresIn instead of expiresAt
  • max_age parameter is changed to maxAge in WebAuth.authorize()
  • customScheme is now part of ClearSessionOptions instead of ClearSessionParameters in clearSession
  • Minimum supported version for iOS is bumped to 13
  • Revoke Token and Change Password now return void instead of an empty object

Removed

  • Removed the type property returned in the Credentials object in Android. Use tokenType instead.
  • skipLegacyListener has been removed in authorize and clearSession

Supported Versions

  • Minimum supported version for iOS is bumped to 13
  • Minimum supported version for Expo is bumped to 48

Don't miss a new react-native-auth0 release

NewReleases is sending notifications on new releases.