/v1/auth/mfa/webauthn/optionsGet passkey options for the second step
A single-use WebAuthn challenge bound to this sign-in, for `navigator.credentials.get()`. Browser-only.
Request body
mfa_token*string`mfa_token` from the sign-in answer.
Response · 200
public_key*object`PublicKeyCredentialRequestOptions` (`challenge`, `rp_id`, `allow_credentials[]` with base64url ids, `user_verification`, `timeout`). Decode the base64url fields to ArrayBuffers and pass to `navigator.credentials.get({ publicKey })`.
Example
Request
POST https://api.platform-auth.productcraft.co/v1/auth/mfa/webauthn/options
Content-Type: application/json
{
"mfa_token": "string"
}Response
{
"public_key": {}
}