Autional Autional
API Reference GitHub autional.com →

POST /auth/webauthn/authenticate/complete

Verify the Passkey authentication response and return a JWT token (no JWT required).

WebAuthn None application/json

Request Body

Schema: dto.PasskeyAuthenticateCompleteRequest

FieldTypeRequiredExampleConstraintsDescription
credential webauthn.AuthenticationResponse Yes
email string No Can be empty in conditional UI mode; user is identified by credential.userHandle

Responses

StatusDescriptionSchema
200Login successfulgitee_com_linmes_authms_micro-services_identity-service_internal_handler_dto.DataResponse
400Invalid request parametersdto.SimpleResponseWrapper
401Authentication faileddto.SimpleResponseWrapper

Referenced Schemas

dto.SimpleResponseWrapper

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No

gitee_com_linmes_authms_micro-services_identity-service_internal_handler_dto.DataResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data object No
message string No

webauthn.AuthenticationResponse

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