Hide Two-Factor Authentication When Local Auth Disabled #368

Closed
opened 2025-11-01 20:55:15 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Naros on GitHub (Mar 22, 2025).

Description

In config.yml we have configured the instance using Keycloak as our openid provider, and we've explicitly disabled local authentication using:

auth:
  local:
    enabled: false

And yet in the user settings section, the Two Factor Authentication option is shown allowing users to enroll, despite the fact it will be ignored. This option should be hidden when local authentication is disabled.

Vikunja Version

0.24.6

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

Originally created by @Naros on GitHub (Mar 22, 2025). ### Description In `config.yml` we have configured the instance using Keycloak as our `openid` provider, and we've explicitly disabled local authentication using: ``` auth: local: enabled: false ``` And yet in the user settings section, the **Two Factor Authentication** option is shown allowing users to enroll, despite the fact it will be ignored. This option should be hidden when local authentication is disabled. ### Vikunja Version 0.24.6 ### Browser and version _No response_ ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots _No response_
Author
Owner

@kolaente commented on GitHub (Mar 23, 2025):

Fixed in 4e504c288e, please check with the next unstable build (should be ready for deployment in ~45min, also on try).

@kolaente commented on GitHub (Mar 23, 2025): Fixed in https://github.com/go-vikunja/vikunja/commit/4e504c288ef5197fff9ed2f37758f177ccced0bf, please check with the next unstable build (should be ready for deployment in ~45min, also on [try](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#368