Skip to content

A demo of how to integrate passkeys via Passage Flex into your AWS Cognito stack

License

Notifications You must be signed in to change notification settings

passageidentity/example-cognito

Repository files navigation

Passage logo

Passage Passkey Flex + AWS Cognito Example

A demo of how to integrate passkeys via Passage Passkey Flex into your AWS Cognito stack.

By using the native AWS User Pool integration with Lambdas via the Custom Auth flow, we can add additional steps to Cognito's authentication process.

Getting started

Follow the official guide to setup Passage and AWS. Once you're ready, run the server and app!

Install the dependencies

npm install

Build the Lambdas and follow the guide to upload them to AWS

npm run build:lambdas

Start the .env setup and follow the guide to populate the env vars

npm run env

Start the server and app

npm start