Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/passageidentity/example-cognito

A demo of how to integrate passkeys via Passage Flex into your AWS Cognito stack
https://github.com/passageidentity/example-cognito

authentication aws cognito passage passkeys passwordless webauthn

Last synced: 12 days ago
JSON representation

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

Awesome Lists containing this project

README

        


Passage logo


# Passage Passkey Flex + AWS Cognito Example

A demo of how to integrate passkeys via [Passage Passkey Flex](https://passage.1password.com/product/passkey-flex) into your AWS Cognito stack.

By using the native AWS User Pool integration with Lambdas via the [Custom Auth flow](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-challenge.html),
we can add additional steps to Cognito's authentication process.

# Getting started

Follow the official [guide](https://docs.passage.id/docs/guides/passkey-flex/integration-guides/aws-cognito) to setup Passage and AWS. Once you're ready, run the server and app!

Install the dependencies

```sh copy
npm install
```

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

```sh copy
npm run build:lambdas
```

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

```sh copy
npm run env
```

Start the server and app

```sh copy
npm start
```