今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Converting the reset password page
- [Instructor] All right. We've come to the final step now of our Cognito Integration, and that is to convert our front end to use the new Cognito Reset Password Flow. So here's what we need to do for that. The first thing is, as you've seen the route that we're sending the user to currently doesn't have a corresponding page, although what we want to do is have that simply be the existing password reset landing page. So let's go to our routes file, go down here to reset password. And instead of having the password reset code be included like that, we're just going to delete that. And now we'll see that the reset password page shows up. And furthermore up at the top here, we have the email query parameter that we'll be using to send to the server. So other than that, really the only thing we have to do is add another input to this page, where the user can enter the confirmation code that they've received from AWS.…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
-
-
-
(已锁定)
Amazon Cognito basics4 分钟
-
(已锁定)
Setting up an AWS Cognito project7 分钟 39 秒
-
(已锁定)
Creating a user pool in Node.js5 分钟 28 秒
-
(已锁定)
Converting the sign-up endpoint to AWS6 分钟 33 秒
-
(已锁定)
Converting the sign-up page to AWS1 分钟 59 秒
-
(已锁定)
Modifying the email verification flow9 分钟 29 秒
-
(已锁定)
Converting the verify email route6 分钟 32 秒
-
(已锁定)
Converting the login route5 分钟 22 秒
-
(已锁定)
Converting the forgot password route4 分钟 16 秒
-
(已锁定)
Rewriting the reset password endpoint3 分钟 3 秒
-
(已锁定)
Converting the reset password page4 分钟 22 秒
-
(已锁定)
-
-