From the course: React: Authentication (2021)
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Modifying the email verification flow - React.js Tutorial
From the course: React: Authentication (2021)
Modifying the email verification flow
- [Instructor] Alright, the next thing we're going to convert to Cognito is the Email Verification Flow. Now, as I mentioned, Cognito takes care of sending emails and verifying codes for us. So if we were setting all this stuff up from scratch this could potentially save us a lot of the work that we did earlier in the course. Anyway, we're going to start on the front end here because we need to make some changes to where we redirect the user. Because of the way Cognito does email verification, that is by sending the user a six digit code instead of simply a link, we need to create a page for the user to enter that code and redirect them there after they first sign up. So that's what we're going to do. In our Pages folder here, we're going to create a new file and let's call this file EmailVerificationCodePage.js It's kind of similar to our EmailVerificationLandingPage except it's going to have an input where the user can…
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.
Contents
-
-
-
-
-
-
-
(Locked)
Amazon Cognito basics4m
-
(Locked)
Setting up an AWS Cognito project7m 39s
-
(Locked)
Creating a user pool in Node.js5m 28s
-
(Locked)
Converting the sign-up endpoint to AWS6m 33s
-
(Locked)
Converting the sign-up page to AWS1m 59s
-
(Locked)
Modifying the email verification flow9m 29s
-
(Locked)
Converting the verify email route6m 32s
-
(Locked)
Converting the login route5m 22s
-
(Locked)
Converting the forgot password route4m 16s
-
(Locked)
Rewriting the reset password endpoint3m 3s
-
(Locked)
Converting the reset password page4m 22s
-
(Locked)
-
-