Start Login Passkey


Initiates the WebAuthn authentication process by generating a challenge and configuration options required by the client to retrieve a credential. This endpoint is typically called when a user attempts to log in and has previously registered a passkey.

Resource

POST /passkey/start_login

Parameters

None

Payload

The username of the passkey login

Context

Authorization

Guest

Errors

Example

Request
POST http://sip.xelion.nl/api/v1/master/passkey/start_login
Payload
"username"
Response
{
  "challenge": "Q2hhbGxlbmdlSW5CYXNlNjQ",
  "timeout": 60000,
  "rpId": "example.com",
  "allowCredentials": [
    {
      "type": "public-key",
      "id": "Q3JlZGVudGlhbElEMTIz"
    }
  ],
  "userVerification": "preferred",
  "extensions": {
    "exampleExtension": true
  }
}