LDAP 4.0-beta-2 Compatibility

Created on 16 April 2021, about 4 years ago
Updated 6 May 2023, about 2 years ago

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

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bluegeek9

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024