Skip to content

Releases: auth0/react-native-auth0

v4.3.0

07 Feb 09:43
9e6590c
Compare
Choose a tag to compare

Added

  • Added webAuth cancel for ios to prevent active transaction errors #1063 (pmathew92)
  • Update FAQ explaning workaround when browser gets killed when going t… #1052 (mateoguzmana)

Fixed

  • Change type of authParams to object in PasswordlessWithSMSOptions and… #1059 (ben-qiu)

Security

v4.2.0

30 Jan 09:41
22366e3
Compare
Choose a tag to compare

Added

  • Fixes type issue in ExhangeNativeSocial - Adds hook methods for exchangeNativeSocial and revoke #1049 (mnemitz) / kailash-b)
  • Update android sdk version to v3.2.1 #1047 (kailash-b)

Fixed

v4.1.0

27 Jan 10:01
aee4fb7
Compare
Choose a tag to compare

v4.1.0 (2025-01-27)

Full Changelog

Added

Fixed

v4.0.0

28 Nov 06:58
1b902ca
Compare
Choose a tag to compare

Full changelog

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

💡 Check the v4.0.0-beta.0 to understand other major changes .

⚠️ BREAKING CHANGES

  • BREAKING CHANGE: requireLocalAuthentication method is no longer available as part of the CredentialsManager class or the useAuth0 Hook from v4 of the SDK. Refer Migration Guide for more details.

Added

v4.0.0-beta.0

05 Aug 14:19
3420a2c
Compare
Choose a tag to compare
v4.0.0-beta.0 Pre-release
Pre-release

Breaking Changes:

  • requireLocalAuthentication method is no longer available as part of the CredentialsManager class or the useAuth0 Hook from v4 of the SDK. Refer below sections on how to enable authentication before obtaining credentials now.

Changes:

  • Updated the Auth0 class constructor to accept a new parameter, LocalAuthenticationOptions, for enabling authentication before obtaining credentials as shown below:
const localAuthOptions: LocalAuthenticationOptions = {
    title: 'Authenticate to retreive your credentials',
    subtitle: 'Please authenticate to continue',
    description: 'We need to authenticate you to retrieve your credentials',
    cancelTitle: 'Cancel',
    evaluationPolicy: LocalAuthenticationStrategy.deviceOwnerWithBiometrics,
    fallbackTitle: 'Use Passcode',
    authenticationLevel: LocalAuthenticationLevel.strong,
    deviceCredentialFallback: true,
  }
const auth0 = new Auth0({ domain: config.domain, clientId: config.clientId, localAuthenticationOptions: localAuthOptions });

Modified the Auth0Provider to accept LocalAuthenticationOptions as a parameter to enable authentication before obtaining credentials.

const localAuthOptions: LocalAuthenticationOptions = {
  title: 'Authenticate to retreive your credentials',
  subtitle: 'Please authenticate to continue',
  description: 'We need to authenticate you to retrieve your credentials',
  cancelTitle: 'Cancel',
  evaluationPolicy: LocalAuthenticationStrategy.deviceOwnerWithBiometrics,
  fallbackTitle: 'Use Passcode',
  authenticationLevel: LocalAuthenticationLevel.strong,
  deviceCredentialFallback: true,
};

const App = () => {
  return (
    <Auth0Provider
      domain={config.domain}
      clientId={config.clientId}
      localAuthenticationOptions={localAuthOptions}
    >
      {/* YOUR APP */}
    </Auth0Provider>
  );
};

export default App;

Added

v3.2.1

09 May 12:56
8a126fa
Compare
Choose a tag to compare

Fixed

  • chore: upgraded dependency on Auth0.swift to 2.7.2 #895 (desusai7)

Security

v3.2.0

26 Apr 09:47
02188a2
Compare
Choose a tag to compare

Added

v3.1.0

07 Dec 15:57
fedd07c
Compare
Choose a tag to compare

Added

Fixed

v3.0.2

06 Oct 10:30
9156294
Compare
Choose a tag to compare

Fixed

Security

v3.0.1

16 Aug 10:15
982850e
Compare
Choose a tag to compare

Fixed

  • Make authorize and clearSession parameters optional #701 (poovamraj)

Security