Complete User Login

By using POST /auth/login api, you can complete the login process and get the authentication token.

Authentication
No authentication are required.
Required Permissions
No permissions are required.
Parameters
  • challengeIdentifier: Temporary authentication token returned by the Create Challenge endpoint.
  • firstFactor: To sign the challenge, use a Fido2 Credential, also known as Passkeys or WebauthN credential.
  • secondFactor: To authenticate, use a Fido2 Credential, also known as Passkeys or WebauthN credential.
Request body
{
 
curl --request POST \
  --url https://api.digitalassets.ibm.com/auth/login \
  --header 'Content-Type: application/json' \
  --data '{
  "challengeIdentifier": "<string>",
  "firstFactor": {
    "kind": "Fido2",
    "credentialAssertion": {
      "credId": "<string>",
      "clientData": "<string>",
      "signature": "<string>",
      "algorithm": "<string>",
      "authenticatorData": "<string>",
      "userHandle": "<string>"
    }
  },
  "secondFactor": {
    "kind": "Fido2",
    "credentialAssertion": {
      "credId": "<string>",
      "clientData": "<string>",
      "signature": "<string>",
      "algorithm": "<string>",
      "authenticatorData": "<string>",
      "userHandle": "<string>"
    }
  }
}'
}
Response
200: Success