A Discourse plugin to enable LDAP/ActiveDirectory authentication. Basically just wraps the really great omniauth-ldap gem within a Discourse plugin.
I'll defer to this Discourse thread on steps to install a Discourse plugin: Install a Plugin. In a nutshell, you just have to edit app.yml
and add https://github.com/jonmbake/discourse-ldap-auth ldap
under hooks > after_code > exec > cmd
.
After the plugin is installed, logging in as an Admin and navigating to admin/site_settings/category/plugins
will enable you to specify your LDAP settings:
Once the settings are set (you may need to clear DISCOURSE_APP/tmp and restart server), you should have an option to login in with LDAP: