Easy authentication for your next React Native app.
π§ Powered by Amplify
β Preconfigured, production tested authentication flow
β 2 Factor Authentication Enabled
β React Navigation
β Redux
β Amplify React Native
β Opinionated yet configurable
β Themeable
β Cross-Platform
β¬οΈ Social Logins / Federated Identities
β¬οΈ Optional intro / onboarding flow
- Clone project
git clone https://github.com/dabit3/react-native-auth-starter.git
- Change into react-native-auth-starter directory
cd react-native-auth-starter
- Install dependencies
yarn || npm install
- Configure AWS Amplify config in
index.js
by adding your ownaws-export.js
file in thesrc
directory. If you do not already have this file, continue to step 5
- Install AWSMobile CLI if not already installed and configured (for steps on how to configure AWSMobile CLI, see this two minute video)
npm i -g awsmobile-cli
awsmobile configure
- Create a new AWS Mobile Hub Project using the AWSMobile CLI
awsmobile init
- Enable User Sign In
awsmobile user-signin enable
awsmobile push