Passkey
Generate Passkey Registration Options
Generate options to register a new passkey.
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
requiredThe ID of the passkey challenge. Should be passed back to the complete the registration.
options
object
requiredThe options for public key credential creation, based on https://w3c.github.io/webauthn/#dictdef-publickeycredentialcreationoptionsjson.
Was this page helpful?