Frequent Log Out from Mobile App

Hello,

I am self-hosting Version: v2.1.0 and using the latest Android mobile app. The app gets logged out very frequently. I can’t pin down an exact time, but it’s sometimes less than 2 hours. I’m using the default JWT timeout settings, and have specific a JWT key in the config file. I have not restarted the server.

I’ve read the documentation but I can’t figure out where to start debugging the issue. Could someone point me in the right direction?

Edit: I just logged back into the app, and the first thing on the screen says “Code: 11, message: missing, malformed, expired, or otherwise invalid token provided”, so it does seem to be something with the JWT token. Still not sure where to start though.

I’ve built the app from the current main branch, feat(auth): adapt app to new login flow (#237) · go-vikunja/app@e0abc94 · GitHub. It seems to have fixed it. I think this is the bug report, for anyone who finds this later. fix: logout after concurrent token update by leschbenedikt · Pull Request #248 · go-vikunja/app · GitHub

So hopefully the next full release is a permanent fix.

Hopefully a new Android version will be released soon?