Binom Documentation

К навигации

Two-factor authentication

You can configure your tracker so that you can login only with a one-time password. This mechanism is called two-factor authentication (2FA) and allows you to protect your tracker better than a normal password.


To activate two-factor authentication, you need to go to Settings – 2FA.

2FA works through Google Authenticator, so make sure that you already have (iOS/Android) app on your device.
To turn 2FA on you need to scan the QR code or enter Secret Key into the application. After that, enter the code from Google Authenticator in the Enter Code field and click

Be careful, without a one-time code you will not be able to login into the tracker, so we recommend you save the QR-code picture or Secret Key so you could reconnect a new device if the old one is lost.


To turn 2FA off, simply click on the button
If there are several users for the tracker, then any administrator can disable 2FA in the settings of a particular user:

API and 2FA

To work with API and 2FA, you need to add a new parameter to the link/query code= and value generated by this function:

function get2FACode($a){
for($j=0;$j<8;++$j){ $x.=str_pad(base_convert(@$c[@$b[$i+$j]],10,2),5,'0',STR_PAD_LEFT); }
for($z=0;$z<count($e);++$z){ $d.=(($y=chr(base_convert($e[$z],2,10)))||ord($y)==48)?$y:''; }
$g=unpack('N',substr($f,ord(substr($f,-1)) & 0x0F,4));
return str_pad(($g[1] & 0x7FFFFFFF)%pow(10,6),6,'0',STR_PAD_LEFT);
where instead of YOURTRACKERCODE you need to specify your Secret Key from tracker settings.