I’ve successfully set up oCIS with an LDAP backend and I can login via username and password. I’d like to be able to login using either the username or the e-mail address.
Therefore I removed IDP_LDAP_LOGIN_ATTRIBUTE: "uid" and instead added LDAP_LOGIN_ATTRIBUTES: "uid,mail" but I still can only login with the username.
Unfortunately currently, the builtin IDP (lico), only allows using a single attribute as the login attribute. You might want to open a feature request in github to enhance that.
To enable LDAP login via email in oCIS, ensure LDAP_LOGIN_ATTRIBUTES is set correctly for ‘mail’ and verify LDAP schema compatibility. Check oCIS documentation or forums for detailed configuration steps.