Start WebAuthn registration
post
Authorizations
defguard_sessionstringRequired
Responses
200
WebAuthn registration challenge.
application/json
objectOptional
401
Session is missing or invalid.
application/json
500
Unable to start WebAuthn registration.
application/json
post/api/v1/auth/webauthn/init
POST /api/v1/auth/webauthn/init HTTP/1.1
Accept: */*
{
"publicKey": {
"challenge": "y5EiUNc9wZ0mGvJ0mQdKZg",
"pubKeyCredParams": [
{
"alg": -7,
"type": "public-key"
}
],
"rp": {
"id": "vpn.example.com",
"name": "defguard"
},
"user": {
"displayName": "admin",
"id": "TDNkX2FkbWlu",
"name": "admin"
}
}
}Last updated
Was this helpful?