How to implement passwordless login using OTP with Cognito.
If you want to deploy this in your AWS account and try it out then you need to:
-
Create and verify a domain identity in SES, see here
-
In the
serverless.yml
, replacecustom.domain
with your SES domain. -
Run
npm ci
at the project root to restore project dependencies. -
Run
npx sls deploy
at the project root to deploy the project to theeu-west-1
region.