Get the information to initiate a WebAuthn registration ceremony

POST /V1/tfa/provider/u2fkey/authentication-challenge

Get the information to initiate a WebAuthn registration ceremony

Body

Responses

  • 200 Success.

    Hide response attributes Show response attributes object
  • Unexpected error

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Error details

      Hide errors attributes Show errors attributes object
    • code integer

      Error code

    • parameters array[object]

      Error parameters item

      Hide parameters attributes Show parameters attributes object
    • trace string

      Stack trace

POST /V1/tfa/provider/u2fkey/authentication-challenge
curl \
 -X POST https://magento2.winkelstraat.mac/rest/all/V1/tfa/provider/u2fkey/authentication-challenge \
 -d '{"username":"string","password":"string"}'
Request examples
{
  "username": "string",
  "password": "string"
}
Response examples (200)
{
  "credential_request_options_json": "string",
  "extension_attributes": {}
}
Response examples (default)
{
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}