AWS Cognito — Auth setup has never been more simple!

Setting up auth with node.js along with Cognito is pretty sweet!
The request is made only with email as the payload.
This is the template I set for emails while setting up our cognito user pool
On successful completion we get the signup complete response.
On successful signup we pass the id_token, access_token and refresh_tokens in the response headers. Just a reminder that these values should typically be hashed in a production environment.
A verification code is sent to the registered email id.
This verification code will be used in the next request — to set up a new password.
I used a wrong email address to demonstrate one of the error messages!
Password reset is successful
Pass the id_token, access_token and refresh_token in the headers and we’re set!

A tech-geek, curious creature, willing to learn new technologies to build interesting and intelligent systems...