The LDAP SSO Auth module provides a simplified Single Sign On via an LDAP server. It covers fewer use cases than the ldap_sso module but works faster without page redirects during authentication. This module is the right choice if all content should be accessible only to authenticated users.
REQUIREMENTS
------------
This module requires:
- ldap_servers
- ldap_authentication
Enabling the Internal Page Cache module is not recommended.
INSTALLATION
------------
Install the optimized module as you would typically install a contributed Drupal
module. Visit https://www.drupal.org/node/1897420 for further information.
Install with composer:
composer require drupal/ldap_sso_auth
CONFIGURATION
--------------
1. Navigate to Administration > People > LDAP servers > LDAP SSO Auth and
configure as the LDAP server needs it.
KNOWN ISSUES
------------
Symptom: Instead of being recreated, user deleted from Drupal receive access denied. Details: when a user is logged in to Drupal, then gets deleted, it's browser still holds the session cookie and on the next request this module will still receive a session object from Drupal with the deleted user's uid. Currently no other check is running so this module will not initiate the LDAP SSO user recreation process, but will not do anything thinking that the user has a valid living session. Workaround: the user should delete cookies or start a new sole incognito window.
Develop Ldap SSO Auth using DDEV ⚙
If you haven't already, install DDEV.
git clone [email protected]:project/ldap_sso_auth.git cd ldap_sso_auth ddev config --project-type=drupal --docroot=web --php-version=8.4 --corepack-enable --project-name=ldap-sso-auth ddev add-on get ddev/ddev-drupal-contrib ddev add-on get ddev/ddev-selenium-standalone-chrome ddev add-on get s-ayers/ddev-drupal-contrib-mkdocs ddev start ddev poser ddev symlink-project ddev drush site:install -y ddev drush pm:install ldap_sso_auth -y ddev drush config:export -y ddev drush user:login
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Ldap ecosystem
Most installed first