From the course: React: Authentication

Unlock this course with a free trial

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

Adding a verify email route

Adding a verify email route - React.js Tutorial

From the course: React: Authentication

Adding a verify email route

- [Narrator] All right, so now that we have that please verify email page, let's go to our server side and we're going to add a route that will allow us to verify the user's email. Now really all that we're going to do here is we're going to have the front end, right? We already put that link, if we scroll down here. We already put that link inside this email that we're sending to the user. And as you can see, this is going to take them to the front end of our application. So essentially what we're going to do, and we're going to do this in the next video, is we're going to create a page that will basically be sitting at this route and that page, once the user goes there, is going to take the verification string that's in the URL and send it to the endpoint that we're going to create in this video. So we're creating the endpoint first to verify user's email. So let's scroll down and what we're going to do is we're going…

Contents