-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Labels
Description
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:
(
user_saml/lib/SAMLSettings.php
Lines 106 to 110 in 7039931
| 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
- 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.
- 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