Start registering a passkey
POST/api/v1/auth/passkeys/register/begin
Returns the WebAuthn creation options and a sealed session to send back to /api/v1/auth/passkeys/register/finish. Adding a sign-in factor needs a re-authentication: currentPassword when the account has a password, otherwise a sign-in within the last 10 minutes.
Request
Responses
- 200
- 401
- 403
- 429
- 503
WebAuthn creation options
Not authenticated, or currentPassword is missing or wrong (error code INVALID_CURRENT_PASSWORD).
The account has no password and the session's sign-in is more than 10 minutes old (error code REAUTHENTICATION_REQUIRED), or the credential may not change sign-in factors.
Too many requests
WebAuthn is not configured on this server.