[GH-ISSUE #2599] Invalid value of requireavailability when reading for env var #6709

Closed
opened 2026-04-20 17:17:34 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @mprokopiev on GitHub (Apr 11, 2026).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2599

Pre-submission checklist

  • I have searched for existing open or closed issue reports with the same problem.

Description

There is a problem handling VIKUNJA_AUTH_OPENID_PROVIDERS__REQUIREAVAILABILITY env var value:

time=2026-04-11T15:07:48.125Z level=ERROR msg="requireavailability is not a boolean for provider pocketid, value: true"
....
time=2026-04-11T15:13:23.211Z level=ERROR msg="requireavailability is not a boolean for provider pocketid, value: 1"
...
time=2026-04-11T15:13:41.373Z level=ERROR msg="requireavailability is not a boolean for provider pocketid, value: false"

Value set in docker compose:

    environment:
      VIKUNJA_AUTH_OPENID_PROVIDERS_POCKETID_REQUIREAVAILABILITY: false

Value set in config file works fine.

Vikunja Version

2.2.2

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

Originally created by @mprokopiev on GitHub (Apr 11, 2026). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2599 ### Pre-submission checklist - [x] I have searched for existing open or closed issue reports with the same problem. ### Description There is a problem handling VIKUNJA_AUTH_OPENID_PROVIDERS_<provider>_REQUIREAVAILABILITY env var value: ``` time=2026-04-11T15:07:48.125Z level=ERROR msg="requireavailability is not a boolean for provider pocketid, value: true" .... time=2026-04-11T15:13:23.211Z level=ERROR msg="requireavailability is not a boolean for provider pocketid, value: 1" ... time=2026-04-11T15:13:41.373Z level=ERROR msg="requireavailability is not a boolean for provider pocketid, value: false" ``` Value set in docker compose: ``` environment: VIKUNJA_AUTH_OPENID_PROVIDERS_POCKETID_REQUIREAVAILABILITY: false ``` Value set in config file works fine. ### Vikunja Version 2.2.2 ### Browser and version _No response_ ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots _No response_
Author
Owner

@vikunja-bot-app[bot] commented on GitHub (Apr 11, 2026):

This issue has been fixed in #2606, please check with the next unstable build (should be ready for deployment in ~30min, also on the demo).

<!-- gh-comment-id:4230031688 --> @vikunja-bot-app[bot] commented on GitHub (Apr 11, 2026): This issue has been fixed in #2606, please check with the next unstable build (should be ready for deployment in ~30min, also on [the demo](https://try.vikunja.io)).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6709