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.
Solution: How to add user auth to React - Amazon Web Services (AWS) Tutorial
From the course: AWS and React: Creating Full-Stack Apps (2019)
Solution: How to add user auth to React
(upbeat music) - Now let's go over the solution to this challenge. So we want to have a user signed in to the app, then we're going to go to that user account in the Cognito user pool and set it to have its password reset. Then we're going to log out of the app and back in, to have to reset the password. So in Cognito, I'm going to click on Manage User Pools, and then I'm going to select my user pool, and I'm going to go to Users, and Groups. I'm going to select the user beartest, this is the one we're logged in as. And then for this user, I'm going to click Reset Password. I can confirm it's reset required on the account status, so now I'm going to go back to the app. And in the app I'm going to sign out, and then to sign back in I'm going to give it my same account information, and when I click Sign In, it's going to require a confirmation code, so I'll have to check my email. And I have the confirmation code. It's…
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.