The following request body is sent during the preauthenticate call:
{
"svcinfo": {
"did": 1,
"protocol": "FIDO2_0",
"authtype": "PASSWORD",
"svcusername": "svcfidouser",
"svcpassword": "Abcd1234!"
},
"payload": {
"username": "johndoe",
"options": {},
"appTXID": "exampleappTXID"
}
}
Value |
Explanation |
---|---|
did |
Unique identifier for a cryptographic domain within SKFS. Unless using a StrongKey Tellaro appliance, this defaults to 1. |
protocol |
The FIDO protocol to be used in this request (FIDO2_0). |
authtype |
The type of authentication supplied in this service request—it must be PASSWORD or HMAC (see API Security for details); the example shown here is for PASSWORD type of authentication. |
svcusername |
The username of the service credential requesting this web service. |
svcpassword |
The password of the service credential requesting this web service. When PASSWORD authtype is used, SKFS uses entries in a previously configured Lightweight Directory Access Protocol (LDAP) or Active Directory (AD) to authenticate the credential (see <Manage Service Credentials> under SKFS->Administration->Security for details). |
Value |
Explanation |
---|---|
username |
Support for discoverable credentials has been added to SKFS starting with version 4.10. This will allow relying parties to implement username-less authentication flow. To initiate a discoverable flow during authentication, the "username" input parameter for the preauthenticate web service has been made optional. The "username" input param can either be set to NULL or an empty value or it can be completely removed from the input JSON. If a username is provided, this is the name assigned by the web application to the user account registering the FIDO credential.
It is recommended that applications get the e-mail address from the user as part of the registration process, but that applications also generate a randomly generated string—such as a UUID—as the username in this web service. This will ensure that the SKFS database holds no information that could be deemed PII.
|
options |
A JSON object containing an optional list of features the web application may request of the SKFS to associate with this authentication request. The optional features are intended to tailor the types of Authenticators the web application is willing to accept digital signatures from. The JSON object can contain one or more of the following options—but may also be empty to convey no specific preference:
|
appTXID |
An optional string within any SKFS web service request body's payload JSON object that, if added, will attach the appTXID value to the TXID logged by the server. |