2-factor authentication

Cristian3 months ago

Do we have in Traccar the possibility to login per user with 2-factor authentication?

Anton Tananaev3 months ago

I think so.

Cristian3 months ago

Thank you Anton. I have indeed succeeded by enabling the one-time password option, and I have added the generated token for the user to the microsoft authenticator with success. It works perfectly.

Vander Pereira2 days ago

How did you make the self-hosted platform have 2FA for secure login?

Anton Tananaev2 days ago

You enable it in the server settings.

Vander Pereira2 days ago

Sorry for the question, but how?
I didn't see an option.

Anton Tananaev2 days ago

There should be relevant attributes in the server settings.

Vander Pereira2 days ago

Where can I see it?

I've already searched every corner of the system and I couldn't find it.

I found an option in the conf file, I tried to apply it

    <entry key='totpEnable'>true</entry>

but without success.

So I ask: what do I do?

Anton Tananaev2 days ago

If you read the documentation, you will see that it's a server attribute, not config file:

https://www.traccar.org/configuration-file/

Basically what I said earlier.