Skip to content

PasskeyChallenge

View as Markdown
Field Type Description
challenge_id * string
expires_at * string (date-time)
public_key_creation WebAuthnCreationOptions
public_key_request WebAuthnRequestOptions

* always present

{
"challenge_id": "string",
"expires_at": "2026-10-22T13:05:00Z",
"public_key_creation": {
"challenge": "string",
"rp": {
"id": "guv.dev",
"name": "Guv"
},
"user": {
"id": "string",
"name": "string",
"displayName": "string"
},
"pubKeyCredParams": [
{}
],
"timeout": 1,
"authenticatorSelection": {},
"attestation": "string",
"excludeCredentials": [
{}
]
},
"public_key_request": {
"challenge": "string",
"rpId": "string",
"timeout": 1,
"userVerification": "required",
"allowCredentials": [
{}
]
}
}