Autional Autional
API Reference GitHub autional.com →

POST /auth/webauthn/authenticate/begin

Look up user by email and generate a Passkey login challenge (no JWT required).

WebAuthn None application/json

Request Body

Schema: dto.PasskeyAuthBeginRequest

FieldTypeRequiredExampleConstraintsDescription
email string No
mediation string No "conditional" enables conditional UI (auto-fill email without typing)
tenant_id string No

Responses

StatusDescriptionSchema
200Login optionsdto.WebAuthnLoginResponseWrapper
400Invalid request parametersdto.SimpleResponseWrapper
404User not founddto.SimpleResponseWrapper

Referenced Schemas

dto.SimpleResponseWrapper

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No

dto.WebAuthnCredentialDescriptor

FieldTypeRequiredExampleConstraintsDescription
id string No
transports array of

string

No
type string No

dto.WebAuthnLoginOptionsResponse

FieldTypeRequiredExampleConstraintsDescription
allowCredentials array of

See dto.WebAuthnCredentialDescriptor

No
challenge string No
rpId string No
timeout integer No
userVerification string No

dto.WebAuthnLoginResponse

FieldTypeRequiredExampleConstraintsDescription
publicKey dto.WebAuthnLoginOptionsResponse No

dto.WebAuthnLoginResponseWrapper

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