auth

Finalize adding a passkey

Verifies the attestation against the register challenge and stores the new passkey for the current user.

post/api/v0/auth/passkey/register/finalize

Request

  • Base URL: https://api.harmont.dev
  • URL: https://api.harmont.dev/api/v0/auth/passkey/register/finalize
  • Auth: HTTP bearer

Request body

attestationobject required

The WebAuthn attestation response from navigator.credentials.create.

challenge_idstring uuid required

The challenge id returned by the register-options call.

nicknamestring nullable

Optional human label for the new passkey.

Response

The newly registered passkey

aaguidstring nullable

The authenticator's AAGUID (model identifier), if reported.

created_atstring date-time required

When the passkey was registered.

last_used_atstring date-time nullable

When the passkey was last used to authenticate, if ever.

nicknamestring nullable

Human label for the passkey.

uuidstring uuid required

Stable passkey id.

Changes

No recorded changes to this operation across all 1 revision of this API.