Order the steps
Order a passkey sign-in.
- App sends the response JSON to the server
- Server verifies the signature and starts a session
- App calls getCredential with a GetPublicKeyCredentialOption
- User confirms with fingerprint, face or screen lock
- Server creates a challenge and request JSON
Choose an answer, then open Show answer below to check it.
Show answer
Answer: E C D A B
- Server creates a challenge and request JSON From your WebAuthn server library.
- App calls getCredential with a GetPublicKeyCredentialOption Shows the system picker.
- User confirms with fingerprint, face or screen lock The passkey signs the challenge.
- App sends the response JSON to the server Don't trust it locally.
- Server verifies the signature and starts a session Then the app stores tokens securely.