Fork me on GitHub

LDAP/AD authentication

To enable the optional LDAP/AD authentication module, set the eloquent-ldap.enabled variable to true in the .env file as shown below:

eloquent-ldap.enabled=true

By default, the LDAP/AD authentication module is set to off or false, as it requires some extra configuration on your part. For more information on how to configure the module, refer to the documentation of the underlying package at sroutier/eloquent-ldap. Additionally, every option is explained in the config file /config/eloquent-ldap.php.

With the LDAP/AD integration enabled, a few features are added:

  • Automatically creates local accounts for LDAP/AD users during initial login.
  • Automatic assignment of users to local roles based on matching LDAP/AD group membership.
  • Automatically refresh role assignment on user login.