Auth

Create passkey login options

Creates a WebAuthn login challenge. Optional email hints are accepted, but options remain discoverable and do not expose allowCredentials.

post/auth/v1/passkeys/login/options

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/auth/v1/passkeys/login/options
  • Auth: API key in header apikey

Request body

app_originstring uri required

Exact allowed app origin for the WebAuthn ceremony.

emailstring email

Response

Login options

challenge_idstring uuid required
optionsobject required

Opaque WebAuthn PublicKeyCredentialCreationOptions or PublicKeyCredentialRequestOptions JSON returned by @simplewebauthn/server.

Changes

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