Smart accounts with passkey as primary signer
Last updated 8 months ago
Generate authentication options for a user
The username of the user
GET /webauthn/authenticate/generate-options?username=text HTTP/1.1 Host: Accept: */*
Authentication options generated successfully
{ "passkeyAuthenticationOptions": {} }
Verify the authentication for a user
POST /webauthn/authenticate/verify?username=text HTTP/1.1 Host: Content-Type: application/json Accept: */* Content-Length: 186 { "id": "text", "rawId": "text", "response": { "attestationObject": "text", "clientDataJSON": "text", "signature": "text" }, "authenticatorAttachment": "text", "clientExtensionResults": {}, "type": "text" }
Authentication verified successfully
{ "message": "text" }