Open link in a new tab

Content

Expand project menu

OpenProject LDAP Failures with Authentik

LDAP Authentication is failing while using an Authentik LDAP server.

All settings are configured correctly, and I can see in the LDAP server logs that OpenProject is successfully authenticating / binding. I have other applications successfully using this LDAP server for authentication, with the same log messages upon their successful bind/authentication.

{"bindDN":"cn=ldapservice,ou=users,dc=ldap,dc=goauthentik,dc=io","event":"authenticated from session","level":"info","logger":"authentik.outpost.ldap.binder.session","timestamp":"2023-03-09T20:10:48Z"}
{"bindDN":"cn=ldapservice,ou=users,dc=ldap,dc=goauthentik,dc=io","client":"172.30.223.238","event":"Bind request","level":"info","requestId":"8bd2e795-c6d1-4893-bff5-3f39e106c3b8","timestamp":"2023-03-09T20:10:48Z","took-ms":0}
{"event":"Update providers","level":"info","logger":"authentik.outpost.ldap","timestamp":"2023-03-09T20:12:18Z"}

However, OpenProject reports "Unable to connect (LDAP-Error: Could not authenticate at the LDAP-Server.)" when using the 'test' feature.

Where would LDAP authentication logs be kept within OpenProject for review? 

The only reference I see when checking the OpenProject containers logs are below

 I, [2023-03-09T20:10:48.680033 #257]  INFO -- : Started GET "/admin/ldap_auth_sources" for 108.162.216.122 at 2023-03-09 20:10:48 +0000
 I, [2023-03-09T20:10:48.682875 #257]  INFO -- : Processing by LdapAuthSourcesController#index as HTML
 I, [2023-03-09T20:10:48.706943 #257]  INFO -- :   Rendered auth_sources/index.html.erb within layouts/admin (Duration: 12.7ms | Allocations: 2687)