/{app_slug}/v1/me/mfa/step-up/webauthn/optionsAuthGet passkey assertion options for step-up
Mints a single-use WebAuthn challenge for the enabled passkeys on this account and returns the `publicKey` member for `navigator.credentials.get()`. Submit the result to `/step-up` as `credential`. Refused while step-up is locked on this session — a locked session must not be able to keep minting challenges.
Path parameters
app_slug*stringSlug of the app.
Response · 200
public_key*objectThe `publicKey` member to hand to `navigator.credentials.get()` verbatim: `challenge`, `rpId`, `timeout`, `userVerification` and `allowCredentials`. Single-use; expires after 5 minutes.
Example
Request
POST https://api.auth.productcraft.co/{app_slug}/v1/me/mfa/step-up/webauthn/options
Authorization: Bearer YOUR_TOKENResponse
{
"public_key": {}
}