Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • After receiving the parameters, the userName will be used to check if this user has 2FA enabled. if so, and the userPin parameter is missing an error will respond back to the user - “Missing 2FA value“.

  • Then the user will send again his credentials with the userPin (the 2FA value). The user’s credentials and pin code will be verified to approve a successful login.

  • If the user does not has 2FA option enabled, the login process continues to verify the userPassword.

...

Response (

...

XML)

Success - '000|Success|{newAuthToken}'Errors - '999|Missing 2FA value' | '999|Incorrect username and/or password and/or 2FA values supplied.'

Code Block
<?xml version="1.0" encoding="UTF-8"?>
<API3G>
    <Code>000</Code>
    <UserToken>{UserToken}</UserToken>
</API3G>

Error

Code Block
<?xml version="1.0" encoding="UTF-8"?>
<API3G>
    <Code>999</Code>
    <Error>Missing 2FA value</Error>
</API3G>