Has anyone managed to successfully connect Vikunja 1.1.0 (or 1.1.0) to LDAP?

Hi all,

Curious if anyone here has managed to get LDAP authentication working smoothly with Vikunja. I’ve been trying to set it up on Vikunja 1.1.0 (Rocky Linux 9) and when I try to log in with an LDAP user, it keeps telling me the username or password is wrong.

The frustrating part is that the exact same LDAP configuration (same bind DN, base DN, credentials) works perfectly fine with other applications in my environment, so I know the LDAP side is solid. I’ve tried both plain LDAP and LDAPS - same result. No firewall blocks either. Had the same problem on 1.0.0 before upgrading. The bind credentials themselves are definitely correct too - if I intentionally put in a wrong bind password, the service fails to start, so the LDAP connection itself is working.

Has anyone run into something similar? Is there maybe something specific about how Vikunja handles LDAP that I might be missing? Would love to hear how others got theirs working.

Thanks!

Do you see anything in the logs when you start Vikunja or try to log in?

Hi Konrad, thank you for your response!

The thing is, despite having configured logging in the yaml config file, no logs are written in the folder that it supposed to write to (has the user vikunja as the folder owner and write permissions). the logs settings are as follows:

log:
path: “/opt/vikunja/logs”
enabled: true
level: “DEBUG”

the logs remains empty (of course after services restarts etc).

the logs in /var/log/messages say incorrect creadentials (and nothing more related) as follows:

time=2026-02-16T16:05:40.158+02:00 level=ERROR component=http method=POST uri=/api/v1/login status=403 latency=1.420075643s err=“Wrong username or password”

Tried different users, in different formats, but the thing is same exact LDAP configuration works for me on other services. no firewall block whatsoever (I’ve put it even in the same subnet as the AD), no selinux enforcement and no apparmour.

What does the vikunja doctor command report?