Traccar 4.7 Token problem

Klaas Strikwerda4 years ago

Hi,

Situation:
Virtual Windows Server 2016
Traccar-windows-64-4.7 clean install from scratch.

I created two Users. Each user has it's own POI Layer KML file configured. For two different Routes.
When i log on with these different user accounts, each POI Layer KML file show correctly.
This works like a charm, also in the same session in a Browser.
Then i added a Token in the Token field.

Problem:
When i use this Token link to access the Traccar server, on a fresh PC the right POI Layer KML shows.
In the same browser and session, when i switch to the second Token link, i still see the content of the first Token link.
Only after thorough clearing the Browser cache (F5, CTR F5, Delete cache from browser Preferences) i get the new POI KML route visible, but even then not always.

So, logging in with the accounts, the KML content shows, when using the Token links it does not refresh (only loading the first time on a fresh PC).
Even more worrying, when i was logged on with an admin account via a browser, then i switched to the Token link, i remain in this Admin account, It is not switching to this separate account (which clearly has no admin permissions, since we will use it for public use).

Please share your thoughts,

Gr,
KS

Anton Tananaev4 years ago

You need to logout first before using token.

Klaas Strikwerda4 years ago

That makes sense, but real live means people get a few links at the same time.
We will instruct them how to deal with it.

Thanks for the clarification.