Storyden
Auth

Web Authn Request Credential

Start the WebAuthn registration process by requesting a credential.

Start the WebAuthn registration process by requesting a credential.

GET/auth/webauthn/make/{account_handle}
storyden-session<token>

In: cookie

Path Parameters

account_handlestring

Account handle.

Response Body

curl -X GET "https://loading/api/auth/webauthn/make/southclaws"
{
  "publicKey": {
    "rp": {
      "id": "string",
      "name": "string"
    },
    "user": {
      "id": "string",
      "name": "string",
      "displayName": "string"
    },
    "challenge": "string",
    "pubKeyCredParams": [
      {
        "type": "public-key",
        "alg": 0
      }
    ],
    "timeout": 0,
    "excludeCredentials": [
      {
        "type": "public-key",
        "id": "string",
        "transports": [
          "ble"
        ]
      }
    ],
    "authenticatorSelection": {
      "authenticatorAttachment": "platform",
      "residentKey": "discouraged",
      "requireResidentKey": true,
      "userVerification": "discouraged"
    },
    "attestation": "direct",
    "extensions": {}
  }
}
Empty
{
  "error": "string",
  "message": "string",
  "suggested": "string",
  "metadata": {}
}