Problem/Motivation
LDAP 4.0-beta-2 has a small change that causes LDAP SSO Auth to no longer work.
class: \Drupal\ldap_authentication\Controller\LoginValidatorSso
LoginValidatorSso::processLogin() no longer accepts a username; the method takes no arguments.
LoginValidatorSso::setAuthname() has been added.
Steps to reproduce
Install LDAP 4.0-beta-2 and LDAP SSO Auth 2.1
Proposed resolution
Change LdapSsoAuthAuthentication.php Line 169
- $this->validator->processLogin(Html::escape($remote_user));
+ $this->validator->setAuthname(Html::escape($remote_user));
+ $this->validator->processLogin();
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #2
bluegeek9 commentedThis patch is meant for dev and handles the change in the LDAP module and increases the minimum version to 4.0.0-beta2.
Comment #3
bluegeek9 commentedThis patch is for version 2.1, handles the change in the LDAP module, and increases the minimum version to 4.0.0-beta2.
Comment #7
bluegeek9 commentedComment #8
dj1999 commented