Passkey Authentication - SuperTokens Docs
Passkey Authentication
Use WebAuthn passkeys as standalone passwordless authentication with biometrics, security keys, or device credentials.
Overview
Passkeys are a passwordless authentication method based on the WebAuthn, Web Authentication, specification. The standard allows users to log in using biometric authentication, security keys, or device-based credentials, replacing traditional username and password combinations.
Prerequisites
Users need a compatible browser and authenticator. Depending on the authenticator, they may use a PIN, biometrics, a security key, or a cross-device flow. WebAuthn is available only in a secure context, normally HTTPS, with limited exceptions such as localhost. Your relying party (RP) ID and origin must also match the frontend deployment; see the customization guidance.
Getting started
Before going into the actual quickstart guide, read through the Important Concepts page. It provides a high-level overview of the terms and concepts used in the passkeys authentication flow.
[Important Concepts
Go through a quick summary of the WebAuthn specifications to get accustomed with the language used in the guides.](/content/docs/authentication/passkeys/important-concepts/index.html) [Initial Setup
Implement an authentication flow that uses passkeys to log in users.](/content/docs/authentication/passkeys/initial-setup/index.html)
Customization
To adjust the functionality to fit your use case you can explore different sections from the documentation.
[Backend Recipe Configuration
Read through all the options that you can set during the initialization step.](/content/docs/authentication/passkeys/customization#backend-recipe-configuration/index.html) [Credential Generation
See how you can adjust the process that generates credentials.](/content/docs/authentication/passkeys/customization#credential-generation/index.html) [Credential Validation
Discover how to customize the validation process.](/content/docs/authentication/passkeys/customization#credential-validation/index.html)