Traewelldroid / traewelldroid

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

Auto refresh token #405

Open jheubuch opened 3 months ago

jheubuch commented 3 months ago

Refresh access token automatically if valid less than 1 week

MrKrisKrisu commented 3 months ago

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

jheubuch commented 3 months ago

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

MrKrisKrisu commented 3 months ago

No.

jheubuch commented 3 months ago

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

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