[GH-ISSUE #1307] Latest Release Two Factor - Unauthorized #6348

Closed
opened 2026-04-20 16:56:24 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @Novanglus96 on GitHub (Aug 18, 2025).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/1307

Description

There was a new release pushed to the docker hub in the last 24 hours. After updating to that version, I get Unauthorized errors for any changes I attempt to make, i.e. closing Tasks, Creating Tasks, etc. It appears to be an issue with Two Factor Authorization as I had that turned on prior to the update and when viewing two factor in Settings, it has en enroll option as if it is not setup.

I can confirm that rolling back to verison 0.24.6 allows me to login and authenticate with two factor, but then I get db errors since apparently there were db scheme changes with the lastest version.

Vikunja Version

Latest

Browser and version

Chrome

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

No response

Originally created by @Novanglus96 on GitHub (Aug 18, 2025). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/1307 ### Description There was a new release pushed to the docker hub in the last 24 hours. After updating to that version, I get Unauthorized errors for any changes I attempt to make, i.e. closing Tasks, Creating Tasks, etc. It appears to be an issue with Two Factor Authorization as I had that turned on prior to the update and when viewing two factor in Settings, it has en enroll option as if it is not setup. I can confirm that rolling back to verison 0.24.6 allows me to login and authenticate with two factor, but then I get db errors since apparently there were db scheme changes with the lastest version. ### Vikunja Version Latest ### Browser and version Chrome ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots _No response_
Author
Owner

@kolaente commented on GitHub (Aug 18, 2025):

Likely not a problem with the two factor auth. Please confirm that your problem is not one of these:

<!-- gh-comment-id:3197312095 --> @kolaente commented on GitHub (Aug 18, 2025): Likely not a problem with the two factor auth. Please confirm that your problem is not one of these: - https://github.com/go-vikunja/vikunja/issues/1303 - https://github.com/go-vikunja/vikunja/issues/1306
Author
Owner

@Novanglus96 commented on GitHub (Aug 18, 2025):

It is similar to 1306 but I also haven't changed any settings. I do not use authentik so 1303 doesn't apply to me. I also haven't changed any config settings, and I did not intend to update to a rc release. I was using the latest tag so not sure how I would end up with a rc build. Is there a way to roll back to 0.24.6 safely?

<!-- gh-comment-id:3197445790 --> @Novanglus96 commented on GitHub (Aug 18, 2025): It is similar to 1306 but I also haven't changed any settings. I do not use authentik so 1303 doesn't apply to me. I also haven't changed any config settings, and I did not intend to update to a rc release. I was using the latest tag so not sure how I would end up with a rc build. Is there a way to roll back to 0.24.6 safely?
Author
Owner

@Novanglus96 commented on GitHub (Aug 18, 2025):

An interesting note as well, that if I am already logged in, I can view and navigate without issue. It's just updates that trigger the Unauthorized error.

<!-- gh-comment-id:3197450059 --> @Novanglus96 commented on GitHub (Aug 18, 2025): An interesting note as well, that if I am already logged in, I can view and navigate without issue. It's just updates that trigger the Unauthorized error.
Author
Owner

@kolaente commented on GitHub (Aug 18, 2025):

Did you set a publicurl?

You can pin your docker configuration to 0.24.6. Rolling back is not really supported though, you'll need to restore a backup and switch to the old version.

<!-- gh-comment-id:3197455622 --> @kolaente commented on GitHub (Aug 18, 2025): Did you set a publicurl? You can pin your docker configuration to `0.24.6`. Rolling back is not really supported though, you'll need to restore a backup and switch to the old version.
Author
Owner

@Novanglus96 commented on GitHub (Aug 18, 2025):

I did not have a publicurl set, just a frontend url. Adding VIKUNJA_SERVICE_PUBLICURL to my config worked!

Thanks!

<!-- gh-comment-id:3197485655 --> @Novanglus96 commented on GitHub (Aug 18, 2025): I did not have a publicurl set, just a frontend url. Adding VIKUNJA_SERVICE_PUBLICURL to my config worked! Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6348