ecamp / ecamp3

eCamp v3 is a web-based app for camp and course planning. The application is specialized for camps and courses of youth associations and for Y+S offers in the sport of camp sports/trekking.
https://ecamp3.ch
GNU Affero General Public License v3.0
111 stars 49 forks source link

JWT Token not found #4898

Open Nick20500 opened 5 months ago

Nick20500 commented 5 months ago

While writing the following text for one of my activities in the next summer camp I got the error "JWT Token not found". Here is the image for context: image

After reloading the page & logging in via midata the error disappeared. Maybe some timeouts are set too short to log out too early or something like that.

carlobeltrame commented 5 months ago

This just means that you have been logged out in the meantime, and need to log in again. We should definitely improve the error message. Currently, you are logged out exactly 12 hours after you logged in, regardless of how much you used eCamp since then, and we would prefer to keep this shorter rather than making it longer. We could install https://github.com/markitosgv/JWTRefreshTokenBundle to change this to x hours after your last interaction with eCamp v3.

Nick20500 commented 5 months ago

Your proposed Solutions sounds good.