Decidim::Ldap

A decidim package to provice user authentication via LDAP. Once is active for an organization, it is imposible to signup.

The plugin adds a new tab in the Decidim System admin panel that allows to create LDAP configurations for every organization. Different config parameters can be configured for every organization.

Installation

Add this line to your application’s Gemfile:

gem 'decidim-ldap'

And then execute:

bundle
bin/rails decidim_ldap:install:migrations
bin/rails db:migrate

Configuration

Once installed, you need to configure the LDAP user credentials that will be used to perform the ldap binding.

Decidim::Ldap.configure do |config|
  config.ldap_username = Rails.application.secrets.ldap[:username]
  config.ldap_password = Rails.application.secrets.ldap[:password]
end

License

AGPLv3 (same as Decidim)