I have put together a LDAP login extension.
Status : Works. Needs testing and maybe some refining.
composer require tituspijean/flarum-ext-auth-ldap
LDAP interface is brought by the
The extension overrides Flarum's login modal to
post the credentials to
/auth/ldap. This route calls
adldap2 which tries to login into the LDAP server. If successful, username and email (retrieved from LDAP) are passed to an
Bugs and enhancements
- I only have a YunoHost LDAP server to test the extension, so do not hesitate to report any issue or missing parameter on your side.
- Please report issues there.
- To do: include avatar, listen to http basic auth credentials.