POST
/
user-authenticators
/
passkey
/
registration-options

Body

application/json
username
string

The username which uniquely identifies the user, e.g. email address. Will be inferred from an existing user identifier if not passed.

displayName
string

An additional identifier which will be displayed to the user to help them recognize the passkey.

Response

200 - application/json
challengeId
string
required

The ID of the passkey challenge. Should be passed back to the complete the registration.

options
object
required

The options for public key credential creation, based on https://w3c.github.io/webauthn/#dictdef-publickeycredentialcreationoptionsjson.