Getting Started with AWS

Build a Full-Stack React Application

Create a simple web application using AWS Amplify

Module 3: Add Authentication

In this module, you will use the Amplify CLI and libraries to configure and add authentication to your app

Overview

The next feature you will be adding is authentication. In this module, you will learn how to authenticate a user with the Amplify CLI and libraries, leveraging Amazon Cognito, a managed user identity service.

You will also learn how to use the Amplify UI component library to scaffold out an entire user authentication flow, allowing users to sign up, sign in, and reset their password with just few lines of code.

What you will accomplish

In this module, you will:
  • Install Amplify libraries
  • Create and deploy an authentication service
  • Configure your React app to include authentication

Key concepts

Amplify libraries – The Amplify libraries allow you to interact with AWS services from a web or mobile application.

Authentication – In software, authentication is the process of verifying and managing the identity of a user using an authentication service or API.

 Time to complete

10 minutes

 Services used

Implementation

Conclusion

You have now added user authentication to your app with just a few lines of code. In the next module, we will add an API to your app.

Was this page helpful?

Add API and Database