The WebAuthn API provides endpoints for implementing passwordless authentication using FIDO2 credentials like security keys, platform authenticators (Face ID, Touch ID), and biometric devices.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/supertokens/supertokens-core/llms.txt
Use this file to discover all available pages before exploring further.
Key Features
- Passwordless authentication using FIDO2/WebAuthn standards
- Support for multiple credentials per user
- Resident key support for usernameless authentication
- Challenge-response authentication flow
- Credential lifecycle management
Authentication Flow
Registration Flow
- Generate registration options with
/recipe/webauthn/options/register - Client performs WebAuthn registration ceremony
- Complete registration with
/recipe/webauthn/signupor/recipe/webauthn/user/credential/register
Sign-In Flow
- Generate sign-in options with
/recipe/webauthn/options/signin - Client performs WebAuthn authentication ceremony
- Verify credentials with
/recipe/webauthn/signin
Base Path
All WebAuthn endpoints are prefixed with/recipe/webauthn
Related Endpoints
Registration
Generate options and register new WebAuthn credentials
Authentication
Generate options and authenticate with WebAuthn credentials
Credentials
Manage user credentials (list, get, remove)