Get the information to initiate a WebAuthn registration ceremony
Get the information to initiate a WebAuthn registration ceremony
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"
}