Authentication

WebAuthn creation options for enrolling a passkey. (Roles: user)

Requires NO step-up proof, even on an account that already has 2FA: this call mutates nothing, and the only thing it exposes that the session cannot already read is excludeCredentials, whose ids GET /auth/2fa/status returns to the same session. The single proof for adding a passkey accompanies POST /auth/2fa/webauthn/register. Asking at both would cost two distinct proofs per passkey, since every proof type is single-use.

post/auth/2fa/webauthn/register-options

Request body

totp_codestring
recovery_codestring
webauthn_assertionobject

Response

Success

Changes

Changed in 1 of the 9 revisions of this API.1