Skip to content

WebAuthn

WebAuthn: 6 operations, tagged webauthn in the OpenAPI document.

Method Path Summary
POST /auth/webauthn/authenticate/begin Begin a WebAuthn authentication ceremony
POST /auth/webauthn/authenticate/complete Complete a WebAuthn authentication ceremony
GET /auth/webauthn/credentials List the current user’s WebAuthn credentials
DELETE /auth/webauthn/credentials/{id} Revoke a WebAuthn credential
POST /auth/webauthn/register/begin Begin a WebAuthn registration ceremony
POST /auth/webauthn/register/complete Complete a WebAuthn registration ceremony

Begin a WebAuthn authentication ceremony

Operation ID: webauthnAuthenticateBegin

Request body (required)

Content type Schema
application/json AuthenticateBeginRequest

Responses

Status Description Body
200 OK application/json AuthenticateBeginResponse
default Error application/json ErrorModel

Complete a WebAuthn authentication ceremony

Operation ID: webauthnAuthenticateComplete

Request body (required)

Content type Schema
application/json AuthenticateCompleteRequest

Responses

Status Description Body
200 OK application/json WebauthnAuthenticateCompleteResponse
default Error application/json ErrorModel

List the current user’s WebAuthn credentials

Operation ID: listWebauthnCredentials

Responses

Status Description Body
200 OK application/json WebauthnCredentialSummary[]
default Error application/json ErrorModel

Revoke a WebAuthn credential

Operation ID: deleteWebauthnCredential

Parameters

Name In Type Required Description
id path string yes

Responses

Status Description Body
204 No Content none
default Error application/json ErrorModel

Begin a WebAuthn registration ceremony

Operation ID: webauthnRegisterBegin

Request body (required)

Content type Schema
application/json RegisterBeginRequest

Responses

Status Description Body
200 OK application/json RegisterBeginResponse
default Error application/json ErrorModel

Complete a WebAuthn registration ceremony

Operation ID: webauthnRegisterComplete

Request body (required)

Content type Schema
application/json RegisterCompleteRequest

Responses

Status Description Body
200 OK application/json RegisterCompleteResponse
default Error application/json ErrorModel
Field Type Required Description
email string yes
Field Type Required Description
options any yes
stateId string yes
Field Type Required Description
credential any yes
stateId string yes
Field Type Required Description
displayName string no
Field Type Required Description
options any yes
stateId string yes
Field Type Required Description
credential any yes
name string no
stateId string yes
Field Type Required Description
credentialId string yes
Field Type Required Description
email string | null yes
name string yes
principalId string yes
roles string[] yes
Field Type Required Description
createdAt string (date-time) yes
id string yes
lastUsedAt string (date-time) no
name string no