Token duration

henry beltran2 years ago

I am using version 5.3 legacy of traccar, as it is known with the legacy version it is not possible to generate a valid token to start session using a link http://www.myserver.com/?token=ABCDEFGHIJKLMN, a token was generated using API with a duration time specified in the POST command of 24 hours, the generated token is still valid 24 hours later, what could be wrong?

henry beltran2 years ago

this is a token generated with a specified validity time of 24 hours

RzBFAiAbiLYMLWl6TVbZaGvgIap7OuUqyORFIF-TauoGqu0AHwIhANo__yrx1bQQPqPuYkmxWw4ckdzN_n_iz4ibn4ukWB4VeyJ1Ijo0MSwiZSI6IjIwMjItMDktMjFUMDg6NTc6MjMuNTM3KzAwOjAwIn0

using a base64 decoder I found that at the end of the token is a date and time 7 days later. When generating the token by API, will it always have a duration of 7 days?

Anton Tananaev2 years ago

No, it should respect your expiration time.