Answer
What is a passkey and can a PWA use one?
A passkey is a phishing-resistant credential built on the WebAuthn standard that replaces passwords: it is a cryptographic key pair, unlockable with the device’s biometric sensor or PIN, that can sync across a user’s devices via their platform account (Apple iCloud Keychain, Google Password Manager). A PWA can offer passkey sign-in using the same navigator.credentials API as any website — no native app is required.
Why passkeys are more secure
Because the private key never leaves the device and the credential is bound to the exact origin, passkeys cannot be phished or reused on a fake login page the way passwords can.
Cross-device sync
Passkeys created on one device typically sync to a user’s other devices through their platform account, and can also be used cross-device by scanning a QR code.
Implementation
Uses the same WebAuthn navigator.credentials.create() and .get() calls as biometric login, with server-side support for the WebAuthn ceremony.