auth

Get options to add a passkey

Returns WebAuthn credential-creation options for the current user, excluding their already-registered credentials, plus the challenge id.

post/api/v0/auth/passkey/register/options

Request

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

Response

Creation options + challenge id

challenge_idstring uuid required

Opaque id of the stored, single-use challenge. Echo it back on finalize.

optionsobject required

The PublicKeyCredentialCreationOptions for the browser.

Changes

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