Skip to content

Allow multiple user backends when using SSO type "environment-variable" #970

@pielonet

Description

@pielonet

Hi,

Our client would like to have the option to enable local (direct) login when using user_saml plugin in "environment-variable" type.

As this piece of code states, the option only exists when using "saml" type:

(

public function allowMultipleUserBackEnds(): bool {
$type = $this->config->getAppValue('user_saml', 'type');
$setting = $this->config->getAppValue('user_saml', 'general-allow_multiple_user_back_ends', '0');
return ($setting === '1' && $type === 'saml');
}
)

What we expect

  1. When using "environment-variable" type login, the settings page would give the possibility to select "Allow the use of multiple user back-ends (e.g. LDAP)" like it is already the case for "saml" type.
  2. With this option enabled in the settings, instead of instantly redirecting the user to SSO the login page would present 2 options:
  • Direct login
  • Login with SSO

Kind regards,
Thierry

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions