Skip to content

Example trigger lambdas for use in our partners' cognito pools.

Notifications You must be signed in to change notification settings

janetechinc/roots-cognito-lambda-triggers

Repository files navigation

Cognito Triggers for Roots

Requirements

  • zip
  • node version 18+
  • npm

Build

Build the lambda zip files with the following commands:

npm install
npm run build

The files will be compiled under dist directory:

  • migration-lambda.zip
  • post-confirmation-lambda.zip
  • pre-signup-lambda.zip

Test

npm test

Configuration

Set the following environment variables:

export JANE_CLIENT_ID="<provided by partner success>"
export JANE_CLIENT_SECRET="<provided by partner success>"
# optional, defaults to the following
export JANE_API_URL="https://api.iheartjane.com"

About

Example trigger lambdas for use in our partners' cognito pools.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published