Autional Autional
API Reference GitHub autional.com →

POST /auth/webauthn/register/complete

Verify the credential created by the client and save the public key, returning recovery codes.

WebAuthn `bearerAuth` application/json

Request Body

Schema: handler.completeRegistrationRequest

FieldTypeRequiredExampleConstraintsDescription
credential webauthn.CredentialCreation Yes

Responses

StatusDescriptionSchema
200Registration successful, includes recovery codesdto.SimpleResponseWrapper
400Invalid request parametersdto.SimpleResponseWrapper
401Unauthorizeddto.SimpleResponseWrapper
500Server errordto.SimpleResponseWrapper

Referenced Schemas

dto.SimpleResponseWrapper

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No

webauthn.CredentialCreation

FieldTypeRequiredExampleConstraintsDescription
id string No
raw_id string No
response object No
type string No