Autional Autional
API Reference GitHub autional.com →

POST /mfa/webauthn/credentials/register/verify

Verify the attestation response and store the credential. Must call /mfa/webauthn/credentials/register first to get creation options.

Multi-Factor Authentication `bearerAuth` application/json

Request Body

Schema: dto.FinishWebAuthnRegistrationRequest

FieldTypeRequiredExampleConstraintsDescription
id string Yes
raw_id string Yes
response object Yes
type string Yes

Responses

StatusDescriptionSchema
200Created Credentialdto.WebAuthnCredentialDataResponse
400Invalid Parameters or Session Not Foundgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthenticatedgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal Server Errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.WebAuthnCredentialDataResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.WebAuthnCredentialItem No
message string No
timestamp string No

dto.WebAuthnCredentialItem

FieldTypeRequiredExampleConstraintsDescription
created_at string No 2026-05-20T08:00:00Z
credential_id string No cred_xyz789
device_info string No FIDO2
id string No wc_abc123
last_used_at string No 2026-05-25T08:00:00Z
name string No YubiKey 5C

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No