Providing a password for user federation LDAP username

Hi

I’ve been able to get the keycloak ‘Add user federation provider’ form to successfully execute the ‘Test connection’ function (which is just a TCP connect test). My current problem is that I don’t find a way to specify a LDAP query username / query password pair (only the query username field is provided), so the connection to my team’s OpenLDAP server rejects the bindRequest (as it should).

I’ve looked through the documentation, but don’t find this discussed, and my initial Google searches haven’t yielded any fruit.

Thoughts/ guidance, please!

Thanks
tl

I did find my own answer, when using the keycloak REST API. When using ‘/auth/admin/realms/master/testLDAPConnection’, ‘bindDn’ contains the query username and ‘bindCredentials’ contains the query password.