Authsignal Node.js SDK

The official Authsignal Node.js library for server-side applications. Use this SDK to easily integrate Authsignal's multi-factor authentication (MFA) and passwordless features into your Node.js backend.
Installation
Using npm:
npm install @authsignal/node
Using yarn:
yarn add @authsignal/node
Using pnpm:
pnpm add @authsignal/node
Using bun:
bun add @authsignal/node
Getting Started
Initialize the Authsignal client with your secret key from the Authsignal Portal and the API URL for your region.
import { Authsignal } from "@authsignal/node";
const authsignal = new Authsignal({
apiSecretKey: process.env.AUTHSIGNAL_SECRET_KEY,
apiUrl: process.env.AUTHSIGNAL_API_URL,
});
API URLs by Region
License
This SDK is licensed under the MIT License.
Documentation
For more information and advanced usage examples, refer to the official Authsignal Server-Side SDK documentation.