From the course: AWS and React: Creating Full-Stack Apps (2019)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Adding user auth to an AWS project - Amazon Web Services (AWS) Tutorial
From the course: AWS and React: Creating Full-Stack Apps (2019)
Adding user auth to an AWS project
- [Instructor] So just like we added hosting through Amplify, we're now going to add user authentication using Amplify as well. So in the terminal, I'm going to make sure I'm in my project directory and then I'm going to run amplify add auth. And it'll ask me some pretty standard questions for how I want to set up authentication in my app. Do I want to use the default configuration? I do. If you want to add a social identity provider like Google or something, you can go through this route or you can add it later, or you can go through the manual configuration and go through each of the details. We're just going to do the default configuration for now. How do we want them to log in? Using the username. We do want to make some additional changes like we want to collect their email address and then we want to use email verification, so when I get to that line, I'm going to hit the space bar and now I hit Return to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.