Quick Start

Set up biometric authentication in your web application in less than 5 minutes.

Installation

npm i @noauth/browser

Basic Configuration

1. Configure your domain

In your noauth.sh dashboard, configure the domain where you'll use authentication.

2. Import the SDK

import { signin } from "@noauth/browser";

3. Start authenticating

const { verified } = await signin("[email protected]", {
  apiKey: "your-api-key",
});



Alternatively, you can use the NoAuth constructor if you prefer to work with OOP.

import { NoAuth } from "@noauth/browser";

const noauth = new NoAuth({
  apiKey: "your-api-key",
});

const { verified } = await noauth.signin("[email protected]");