Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/passageidentity/example-cognito
- Owner: passageidentity
- License: mit
- Created: 2024-10-10T15:10:54.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-14T16:14:37.000Z (2 months ago)
- Last Synced: 2024-10-23T11:51:21.930Z (2 months ago)
- Topics: authentication, aws, cognito, passage, passkeys, passwordless, webauthn
- Language: TypeScript
- Homepage: https://passage.1password.com/
- Size: 121 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```