WebAuthn (Web Authentication) is a web standard authentication API jointly developed by the W3C and the FIDO Alliance. It was designed to solve the fundamental limitations of password-based authentication (phishing, credential stuffing, and reuse attacks). Based on public-key cryptography, it stores the private key securely on the user's device and sends only the public key to the server. Thanks to this structure, user credentials are not leaked even if the server is hacked.
The core concept of WebAuthn is the authenticator. A platform authenticator uses the biometrics built into the device (Face ID, Touch ID, Windows Hello), while a roaming authenticator uses an external security key such as a YubiKey. The user is verified through a challenge-response process, and a unique key pair is generated for each site, which makes cross-site tracking impossible.
As a core component of the FIDO2 protocol, WebAuthn handles the browser API, while CTAP (Client to Authenticator Protocol) handles communication between the device and the authenticator. Since 2023, Apple, Google, and Microsoft have joined forces to popularize it under the brand name 'Passkey.' Passkeys sync WebAuthn credentials through the cloud, so the same credentials can be used across multiple devices.
WebAuthn is especially important in AI/ML systems. It provides strong passwordless authentication for sensitive operations such as model training pipelines, data access, and inference API calls. Using hardware-based authentication instead of passwords, which are vulnerable to automated attacks, effectively blocks unauthorized access to ML assets. In enterprise MLOps platforms, WebAuthn MFA is becoming a mandatory security requirement.