POST
/v1/auth/webauthn/signup-in/start

Use to login with WebAuthn, if user doesn't exist a new user will be created

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<Project ID\>

Try it

/v1/auth/webauthn/signup-in/start

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

loginIdstring

originstring

loginOptionsobject

ssoAppIdstring

passkeyOptionsobject

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/auth/webauthn/signup-in/start" \
  -d '{
  "loginId": "string",
  "origin": "string",
  "loginOptions": {
    "stepup": false,
    "customClaims": {},
    "mfa": false,
    "ssoAppId": "string",
    "templateOptions": {
      "property1": "string",
      "property2": "string"
    },
    "locale": "string",
    "pkceChallenge": "string"
  },
  "ssoAppId": "string",
  "passkeyOptions": {
    "authenticatorSelection": {
      "authenticatorAttachment": 0,
      "requireResidentKey": 0,
      "residentKey": 0,
      "userVerification": 0,
      "extensionsJSON": "string"
    },
    "attestation": false,
    "userVerification": 0,
    "extensionsJSON": "string"
  }
}'

{
  "transactionId": "string",
  "options": "string",
  "create": true
}

Was this helpful?