Frontend API
cURL
curl --request POST \ --url https://api.wacht.dev/auth/passkey/login/begin \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data identifier=john@example.com
{ "options": {} }
Initialize WebAuthn/passkey authentication flow
Email or username
"john@example.com"
Passkey challenge generated
WebAuthn credential request options
Was this page helpful?