passkeyLoginOptions
POST
/api/v1/auth/passkey/login/options
const url = 'https://example.com/api/v1/auth/passkey/login/options';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/auth/passkey/login/optionsPublic. Starts a discoverable, username-free WebAuthn ceremony.
Responses
Section titled “ Responses ”Assertion options and a challenge token
Media typeapplication/json
object
data
required
object
challengeToken
required
string
options
required
WebAuthn public-key assertion options for navigator.credentials.get(), serialized with base64url binary fields. Consumed by the platform authenticator rather than field by field.
object
key
additional properties
any
Examplegenerated
{ "data": { "challengeToken": "example", "options": {} }}Passkeys are unavailable on this installation