Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/passageidentity/passage-node

Passkey Complete for Node.js - Integrate into your Node.js API or service to enable a completely passwordless standalone auth solution with Passage by 1Password
https://github.com/passageidentity/passage-node

1password authentication biometrics ciam identity javascript magic-links nodejs oauth2 oidc otp passage passage-sdk passkey-complete passkeys passwordless typescript webauthn

Last synced: 2 months ago
JSON representation

Passkey Complete for Node.js - Integrate into your Node.js API or service to enable a completely passwordless standalone auth solution with Passage by 1Password

Awesome Lists containing this project

README

        

![passage-node](https://storage.googleapis.com/passage-docs/github-md-assets/passage-node.png)

![NPM Version](https://img.shields.io/npm/v/%40passageidentity%2Fpassage-node?link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40passageidentity%2Fpassage-node) ![NPM Type Definitions](https://img.shields.io/npm/types/%40passageidentity%2Fpassage-node) ![GitHub License](https://img.shields.io/github/license/passageidentity/passage-node)
![Static Badge](https://img.shields.io/badge/Built_by_1Password-grey?logo=1password)

## About

[Passage by 1Password](https://1password.com/product/passage) unlocks the passwordless future with a simpler, more secure passkey authentication experience. Passage handles the complexities of the [WebAuthn API](https://blog.1password.com/what-is-webauthn/), and allows you to implement passkeys with ease.

Use [Passkey Flex](https://docs.passage.id/flex) to add passkeys to an existing authentication experience.

Use [Passkey Complete](https://docs.passage.id/complete) as a standalone passwordless auth solution.

Use [Passkey Ready](https://docs.passage.id/passkey-ready) to determine if your users are ready for passkeys.

### In passage-node

Use passage-node to implement Passkey Complete into your Node.js backend to authenticate requests and manage users.

| Product | Compatible |
| ---------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| ![Passkey Flex](https://storage.googleapis.com/passage-docs/github-md-assets/passage-passkey-flex-icon.png) Passkey **Flex** | ✖️ For Passkey Flex, check out [passage-flex-node](https://github.com/passageidentity/passage-flex-node) |
| ![Passkey Complete](https://storage.googleapis.com/passage-docs/github-md-assets/passage-passkey-complete-icon.png) Passkey **Complete** | ✅ |
| ![Passkey Ready](https://storage.googleapis.com/passage-docs/github-md-assets/passage-passkey-ready-icon.png) Passkey **Ready** | ✖️ For Passkey Ready, check out [Authentikit](https://www.npmjs.com/package/@passageidentity/authentikit) |


## Getting Started

### Check Prerequisites


You'll need a free Passage account and a Passkey Complete app set up in Passage Console to get started.

Learn more about Passage Console →

### Install

```shell
npm i @passageidentity/passage-node
```

### Import

```js
import { Passage } from '@passageidentity/passage-node';
```

### Initialize

```js
// Passage requires an App ID and, optionally, an API Key
const passageConfig = {
appID: process.env.PASSAGE_APP_ID,
apiKey: process.env.PASSAGE_API_KEY,
};
let passage = new Passage(passageConfig);
```

### Go Passwordless

Find all core functions, user management details, and more implementation guidance on our [Passkey Complete Node.js Documentation](https://docs.passage.id/complete/backend-sdks/node) page.

## Support & Feedback

We are here to help! Find additional docs, the best ways to get in touch with our team, and more within our [support resources](https://github.com/passageidentity/.github/blob/main/SUPPORT.md).


---





Passage by 1Password Logo


Passage is a product by 1Password, the global leader in access management solutions with nearly 150k business customers.

This project is licensed under the MIT license. See the LICENSE file for more info.