Authenticate2FA

Category: Authentication Permissions: Public Call Type: Synchronous

Request

{
  "Code": "YourCode"
}

Completes the second part of a two-factor authentication by sending the authentication token from the non-KIIEX authentication system to the Order Management System. The call returns a verification that the user logging in has been authenticated, and a token.

Here is how the two-factor authentication process works:

  1. Call webauthenticateuser. The response includes values for TwoFAType and TwoFAToken. For example, TwoFAType may return "Google," and the TwoFAToken then returns a Google-appropriate token (which in this case would be a QR code).

  2. Enter the TwoFAToken into the two-factor authentication program, for example, Google Authenticator. The authentication program returns a different token.

  3. Call authenticate2FA with the token you received from the two-factor authentication program (shown as YourCode in the Request example below).

Response

{
  "Authenticated": true,
  "SessionToken": "YourSessionToken"
}

To send a session token to re-establish an interrupted session:

{
  "SessionToken": "YourSessionToken"
}

Last updated

Logo