@passageidentity/passage-node
v2.11.2
Published
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
Downloads
980
Readme
About
Passage by 1Password unlocks the passwordless future with a simpler, more secure passkey authentication experience. Passage handles the complexities of the WebAuthn API, and allows you to implement passkeys with ease.
Use Passkey Flex to add passkeys to an existing authentication experience.
Use Passkey Complete as a standalone passwordless auth solution.
Use 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 | ✖️ For Passkey Flex, check out passage-flex-node | | Passkey Complete | ✅ | | Passkey Ready | ✖️ For Passkey Ready, check out Authentikit |
Getting Started
Check Prerequisites
Install
npm i @passageidentity/passage-node
Import
import { Passage } from '@passageidentity/passage-node';
Initialize
// 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 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.