Traewelldroid / traewelldroid

Android app for @Traewelling public transport check-in service
https://traewelldroid.de
GNU Affero General Public License v3.0
71 stars 9 forks source link

Auto refresh token #405

Open jheubuch opened 1 month ago

jheubuch commented 1 month ago

Refresh access token automatically if valid less than 1 week

MrKrisKrisu commented 1 month ago

Maybe increase the time a bit if a user doesn't open the app for a week to prevent logging out?

jheubuch commented 1 month ago

Mhm, can the token be refreshed if the old access token is expired? 🤔

MrKrisKrisu commented 1 month ago

No.

jheubuch commented 1 month ago

https://github.com/Traewelling/traewelling/discussions/2809

Then the validity time of the tokens should not be less then a month imo :D