Passwordless Authentication for Every App

Add passkey login to your website in minutes. No passwords, no friction, no compromise.

Developer laptop showing a login page with a fingerprint authentication overlay

Why MasterKey2?

Zero Passwords

Authenticate with fingerprint, face, or security key. No passwords to leak, phish, or forget.

Drop-In Components

Add <masterkey2-authenticate> or <masterkey2-register> to your HTML. Browser detection and QR fallback handled automatically.

Multi-Tenant

One service, many apps. Tenant-scoped users, isolated passkeys, per-tenant relying party IDs.

Cross-Device QR

Desktop users scan a QR code with their phone. Works everywhere, including Firefox.

Framework Agnostic

Web components, JavaScript API, or event-driven. Works with vanilla JS, React, Vue, Svelte, Astro.

Open Source

Self-host with SQLite for a single node, or scale with PostgreSQL for multi-instance HA.

How It Works

Step 1

Load the SDK

<script type="module"
  src="https://auth.example.com
       /sdk/masterkey2.js">
</script>
Step 2

Drop in a component

<masterkey2-authenticate
  api-base-url=
    "https://auth.example.com">
</masterkey2-authenticate>
Step 3

Handle the event

el.addEventListener(
  'success', (e) => {
    location.href =
      e.detail.redirectUrl;
});
Sequence diagram showing Browser, Your Server, and MasterKey2 interaction during a WebAuthn ceremony

Built on Web Standards

WebAuthn / FIDO2 at its core. No shared secrets cross the network. Phishing-resistant by design—credentials are bound to the origin.

Padlock constructed from circuit board traces, glowing blue

Three Ways to Integrate

Pick the approach that fits your stack.

<!-- Five lines. That's it. -->
<script type="module"
  src="https://auth.example.com/sdk/masterkey2.js">
</script>
<masterkey2-authenticate api-base-url="https://auth.example.com">
</masterkey2-authenticate>

Ready to go passwordless?