Totp enable op 5.10

Track-trace6 months ago

On 5.10 which i downloaded below i tried to enable totp.

https://github.com/traccar/traccar/releases/download/v5.10/traccar-other-5.10.zip

First i enabled my email in /conf/traccar.xml

As admin i added the attributes:

Enable One time Password
Force One time password

https://i.ibb.co/RpvB5Dt/totp-attribute.jpg

Then i saved it and under /traccar/server we can see both enabled.

Track-trace6 months ago

https://i.ibb.co/Tg1Fm5H/totp-attribute1.jpg

Under the user account i can see the field. I need to push the button to create the one time password.

https://i.ibb.co/ZdYbb9n/totp-attribute2.jpg

Then when i login with the user account it requests the one time password code.

Track-trace6 months ago

https://i.ibb.co/xmKJDtP/totp-attribute3.jpg

  1. Then i wonder how the user should have received the code? An email is not received
  2. When i type in the use one time password code (since i created it as admin) i noticed that i can type the numbers but when i type Letters the login button is greyed out (tested on both Chrome, Edge and Firefox).

Any idear what i am missing trying to make this work ?

P.s.
Had to create more replies otherwise the traccar forum does not accept my images.

Anton Tananaev6 months ago
Track-trace5 months ago

I understand that idear discribed in your link.

But,
I input the email and password and click on login.
Then the One time password Code window is presented.

  1. Then i wonder how the user should have received the code, through email ? An email is not received

  2. And when i type the one time password code shown in the user account (since i created it as admin) i noticed that i can type the numbers but when i type the Letters the login button is greyed out (tested on both Chrome, Edge and Firefox).

https://i.ibb.co/Sy52HrF/totp-attribute4.jpg

Anton Tananaev5 months ago

It sounds like you haven't read the page. It's a standard for one time passwords. You have to use apps like Google Authenticator.

Anton Tananaev5 months ago

The code should be only digits, so that's why login is greyed out. That's absolutely expected.

Track-trace5 months ago

Ok got it now.

You actually need to use the One Time password key from the account to insert it in the Authenticator. Then with the time based key from the Authenticator you can login by inserting it in the login field when it requests the one time password code. That solved it. Thanks Anton.