Start a passwordless passkey sign-in
const url = 'https://api.aetherpush.com/v1/auth/passkey/challenge';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://api.aetherpush.com/v1/auth/passkey/challengeIssues WebAuthn authentication options with no credential list, for discoverable credentials. No account is named; the assertion identifies it. User verification is required, so the passkey alone counts as multi-factor. Rate limited per client address.
Responses
Section titled “Responses”WebAuthn authentication options to pass to the browser.
object
WebAuthn PublicKeyCredentialRequestOptionsJSON, as produced by
SimpleWebAuthn’s generateAuthenticationOptions(). Pass it to
startAuthentication() from @simplewebauthn/browser.
object
Examplegenerated
{ "options": {}}Too many attempts.
Returned with HTTP 429 when an endpoint-specific rate limit is hit.
retryAfterSeconds indicates how long the client should wait
before retrying.
object
Example
{ "error": "Too many login attempts. Please try again later.", "retryAfterSeconds": 900, "requestId": "req_abc123"}Passkeys are not configured on this server.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}