Two Factor Authentication module, will implement a two-factor authentication flow, which will prompt for username/email and password and then a time-based generated code.
- Send OTP
- Verify by email
- Verify by sms
- Verification by 2fa
- Setup Google authenticator on same device
- Scan google authenticator qr code.
- Resend code.
- This module includes environment variables.
- This module requires manual configurations.
- This module can be configured with module options.
- This module requires manual Android setup.
- This module requires manual iOS setup.
No 3rd party account setup required.
Dependencies used:
- react-native-qrcode-svg - https://www.npmjs.com/package/react-native-qrcode-svg
- react-native-svg - https://www.npmjs.com/package/react-native-svg
- react-native-country-picker-modal - https://www.npmjs.com/package/react-native-country-picker-modal
- react-native-dropdown-picker - https://www.npmjs.com/package/react-native-dropdown-picker
Update the options/options.js
file with your app's backend url.
export const globalOptions = {
...
url: "https://my-app.botics.co",
...
}
No local config required.
No android config required.
No iOS config required.