React Native Authentication in Depth

Nader Dabit
React Native Training
8 min readFeb 6, 2018

--

Implementing real world production tested multi factor authentication in a React Native application.

This tutorial uses AWS Mobile Hub + AWS Amplify + Amazon Cognito

To view the video tutorials for this post, click here

To view the repo for the final project we will be building, click here.

To view Part 2, click here.

Over the past year or so, I have been working with many companies around the world as a consultant with React Native Training. By far the number one question was how to properly implement real world user authentication.

There are many reasons for this, but it really comes down to two major ones in my opinion:

  1. Many developers & companies are coming into React Native from the web where routing and navigation differ substantially.
  2. State management matters a lot when reasoning about authentication in a React Native Application, and many developers & companies coming into React Native are learning both state management as well as navigation at the same time that they are learning the framework.

Even for seasoned React Native developers, implementing authentication with React Native has not been easy or straight forward up until now.

--

--

Nader Dabit
React Native Training

Full Stack Product Engineer, Author, Teacher, Director of Developer Relations at Avara