Releases: auth0/react-native-auth0
Releases · auth0/react-native-auth0
v4.5.0
Added
- Update dependencies and enhance webAuth methods to support HTTPS #1125 (subhankarmaiti)
- feat: add optional timeout prop to Auth0Provider for authentication requests #1124 (subhankarmaiti)
- Updated Readme recommending App links #1094 (pmathew92)
Fixed
- Added deviceCredentialFallback default value #1098 (subhankarmaiti)
Security
- fix: TypeDoc configuration and update dependencies #1139 (subhankarmaiti)
- React Native Bob Builder config update for expo #1137 (subhankarmaiti)
- Dependency version upgrades #1113 (subhankarmaiti)
- Dependency and config update as per react-native-builder-bob #1097 (subhankarmaiti)
v4.4.0
v4.3.0
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
Security
v4.2.0
v4.1.0
v4.0.0
💡 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 CHANGE:
requireLocalAuthenticationmethod 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
Breaking Changes:
requireLocalAuthenticationmethod is no longer available as part of theCredentialsManagerclass or theuseAuth0Hook from v4 of the SDK. Refer below sections on how to enable authentication before obtaining credentials now.
Changes:
- Updated the
Auth0class 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
Fixed
Security
- chore(deps-dev): bump expo from 50.0.17 to 50.0.18 #902 (dependabot[bot])
- chore(deps-dev): bump @types/jest from 29.5.11 to 29.5.12 #901 (dependabot[bot])
- chore(deps-dev): bump @testing-library/react from 14.1.2 to 14.3.1 #900 (dependabot[bot])
- chore(deps-dev): bump pod-install from 0.1.39 to 0.2.2 #899 (dependabot[bot])
- chore(deps-dev): bump @types/react-native from 0.72.8 to 0.73.0 #898 (dependabot[bot])
- feat: bumped up react-native version to 0.74.1 and expo to 50.0.0 #889 (desusai7)
v3.2.0
Added
- Support for Apple's Privacy Manifest #887 (poovamraj)
- chore(deps-dev): bump @types/react from 17.0.71 to 17.0.73 #831 (dependabot[bot])
- chore(deps-dev): bump react-native from 0.72.7 to 0.73.0 #823 (dependabot[bot])