Register FIDO device

POST /auth/fido

Register a FIDO device for WebAuthn authentication. It requires registration response from the device.

application/json

Body Required

  • registration_response object Required

    FIDO device registration response

  • device_name string Required

    Name for the FIDO device

Responses

  • 200

    FIDO device registered

  • 400

    Registration failed or no preregistration

POST /auth/fido
curl \
 --request POST 'http://api.example.com/auth/fido' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"registration_response":{},"device_name":"string"}'
Request examples
{
  "registration_response": {},
  "device_name": "string"
}