AWS Serverless Application providing:
- An Amazon Cognito User Pool, with a custom workflow to provide a passwordless authentication flow using TokenChannel
- An Amazon Cognito User Pool Client, so we can start integrating the User Pool
- The Lambda functions that will be triggered during user pool authentication operations
- The lambda invocation permissions on the Lambda functions for the User Pool
- An AWS account and the credentials
AWS_ACCESS_KEY_ID
,AWS_SECRET_ACCESS_KEY
available in the environment. - A TokenChannel.io account and the api key available in the environment.
- Node.js
- AWS SAM CLI
- A bucket created in AWS S3 and its name set in sam configuration file
# Review and load the env variables. !!Hide credentials
export $(xargs < environment.env)
yarn install
# Packaging and deployment -
npm run go
# Copy UserPoolClientId in the output - Will be needed for integration
Watch the video introduction.