User sessions are lost after restart

Hi,

I noticed that user sessions are lost when my Vikunja container restarts, I wonder if there is a way to configure a more persistent mechanism like Redis.

Thanks

That sounds like you did not configure a jwt secret:

If none is set, Vikunja will generate a random one at startup, invalidating all sessions issued prior to that.

1 Like

ah! yes you are right. Thanks for pointing out.
Its fine after setting the jwt secret :slight_smile: