POST /api/interaction/verification/webauthn-registration

POST /api/interaction/verification/webauthn-registration

Responses

POST /api/interaction/verification/webauthn-registration
curl \
 -X POST https://[tenant_id].logto.app/api/interaction/verification/webauthn-registration
Response examples (200)
{
  "rp": {
    "name": "string",
    "id": "string"
  },
  "user": {
    "id": "string",
    "name": "string",
    "displayName": "string"
  },
  "challenge": "string",
  "pubKeyCredParams": [
    {
      "type": "string",
      "alg": 42.0
    }
  ],
  "timeout": 42.0,
  "excludeCredentials": [
    {
      "type": "string",
      "id": "string",
      "transports": [
        "usb"
      ]
    }
  ],
  "authenticatorSelection": {
    "authenticatorAttachment": "platform",
    "requireResidentKey": true,
    "residentKey": "discouraged",
    "userVerification": "required"
  },
  "attestation": "none",
  "extensions": {
    "appid": "string",
    "credProps": true,
    "hmacCreateSecret": true
  }
}