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 settings or hook up your own auth provider
(src/aws-exports.js).
export default {
identityPoolId: <IDENTITY_POOL_ID>, //REQUIRED - Amazon Cognito Identity Pool ID
region: '<REGION>', // REQUIRED - Amazon Cognito Region
userPoolId: '<USER_POOL_ID>', //OPTIONAL - Amazon Cognito User Pool ID
userPoolWebClientId: '<USER_POOL_WEB_CLIENT>',
}
