From the course: React: Authentication

Unlock this course with a free trial

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

Creating a "reset password" landing page

Creating a "reset password" landing page - React.js Tutorial

From the course: React: Authentication

Creating a "reset password" landing page

- [Instructor] All right, so the next step in this process is a password reset landing page. Basically, this is what we want the user to go to when they click that link that we have in the password reset email, right? So when they click this, this is obviously changed by send grid, so that they can track when users click these things, as I've mentioned. But ultimately it's going to take them back to a route. And this page here, which I've included in the beginning state of the exercise files, is what we want the user to see. Now this works in a very similar way to what we saw with the email verification flow, where it's got this page, but it's also got like a success and a failure state. And ultimately what the page is going to do is it's going to load the password reset code, right? That's what we set in the email that we sent out. It's going to load that and then send a request to the server using that parameter as part of the URL. So we're going to need to go back and actually add…

Contents