JWT secret manually set still results in logout after restart

I am running Vikunja via Docker, and I have the env variable of VIKUNJA_SERVICE_JWT_SECRET set to a random string of 32 alphanumeric characters, and even with that set, restarting the Vikunja-API container results in receiving 401 errors about the jwt being invalid and eventually it forces me to log in agian.

How can I overcome this so that even with container restarts I will still be logged in?

Thanks in advance!

This might be a problem in the docs, can you try VIKUNJA_SERVICE_JWTSECRET and check if that works?

1 Like

I can confirm that this indeed works after changing the variable to VIKUNJA_SERVICE_JWTSECRET
as you suggested. Thank you!