Skip to content
Finic
Identity and compliance

What is WebAuthn?

WebAuthn is a W3C web standard that lets websites log users in with public-key credentials, such as passkeys and security keys, instead of passwords.

Also called: Web Authentication API

How it works

When a user registers, their device or security key, called an authenticator, makes a new key pair for that site. The private key stays with the authenticator. The site stores only the public key.

At login, the site sends a random challenge. The authenticator signs it with the private key, usually after the user unlocks it with a PIN, fingerprint or face. The site checks the signature with the stored public key. No shared secret crosses the network.

WebAuthn, FIDO2 and passkeys

WebAuthn is the browser side of FIDO2. The other part, CTAP (Client to Authenticator Protocol), lets the browser talk to external authenticators such as USB or NFC security keys and phones. Together they let one site work with many kinds of authenticator.

A passkey is a WebAuthn credential, often synced across a user's devices by their platform's password manager. Hardware security keys use the same standard with keys that stay on the device.

Why it resists phishing

Each credential is bound to the origin of the site that created it. The browser will not use a credential for a different domain, so a look-alike phishing page cannot get a valid signature, and there is no code for a user to read out or type in.

Because the site holds only public keys, a breach of its database does not expose secrets that work elsewhere. This makes WebAuthn a strong choice for multi-factor authentication and for passwordless login.

Limits to keep in mind

WebAuthn protects the login, not what happens after it. Account recovery, session theft and approvals a user is tricked into are still risks, so teams also watch device, network and behavior signals around sensitive actions.

← All glossary terms

Ship fraud, bot and KYB checks in minutes.

Start with $5 of free credit, or copy a prompt and let your coding agent set Finic up.

Sign up See pricing