React Native Authentication in Depth Part 2 — Real World Auth Flow
Breaking down Authentication Flows in React Native
This is a continuation of React Native Authentication in Depth.
In this project, we will be walking through building out what is the React Native Auth Starter project. The codebase for this project is located here.
Feel free to either download the project and walk through this tutorial for a better understanding, or start from the project we created in Part 1 and code along.
This post will cover:
- Overview of production tested Authentication flows.
- Implementation of Auth flow using the existing application from Part 1.
- Wiring up Redux to handle application UI and some auth state.
- Using AWS Amplify to handle Cognito user sessions.
The navigation library we will be using is React Navigation, but these patterns will translate to basically any navigation library.
Auth Flow
Getting the authentication flow right in the beginning of your app development saves an enormous amount of time down the road if it is implemented correctly. The goal of this post is to show you how to set up some basic yet real world…