From the course: AWS and React: Creating Full-Stack Apps

Unlock the full course today

Join today to access over 24,600 courses taught by industry experts.

Solution: Add user auth to your React app

Solution: Add user auth to your React app

- [Instructor] Okay, so hopefully that challenge went pretty well. We're going to go through it now. And hopefully this will look pretty familiar to you. So we're going to go to the Cognito user pool and set it up to where the user has to reset their password. That way the next time they log in, they have to set a new password. Okay, so I'll start by going to Cognito in the browser and we'll step through it from there. Okay, so here I am in the browser. I'm going to go to the user pool. I'm going to select that user. And then I'm going to select Actions, Reset password. This is going to confirm that I do want to reset this password. And I'll click Reset. Okay, so now if I log out of around the app, which I already have, and then log back in, I should be forced to reset my password. And there it is. It says Reset Password. So I have to get a code that should've been emailed to me. And if I check my email, I get that code…

Contents