traccar / traccar-manager-android

Traccar Manager for Android
https://www.traccar.org/manager
Apache License 2.0
266 stars 379 forks source link

Can't login: Token has expired - SecurityException #105

Closed CodeShakingSheep closed 4 months ago

CodeShakingSheep commented 4 months ago

Describe the bug When I want to login on my Android phone, a message about an expired token is displayed.

To Reproduce Steps to reproduce the behavior: Try to login.

Expected behavior Either I should be logged in successfully or I should have the option to renew the token.

Screenshots image

Smartphone (please complete the following information):

Additional context It happens on my girlfirend's iPhone as well. So, it doesn't seem to be entirely Android related.

Edit: I could solve this on my Android phone by removing all cache and user data from the app and then specifiying my server URL again and logging in from scratch. However, there should be a more user-friendly way of handling expired tokens.

tananaev commented 4 months ago

I'm not able to reproduce this. Once token expires, I can login again and the new token is set.