Skip to content

Allow to disallow login with LDAP connector #327

@marien-probesys

Description

@marien-probesys

Is your feature request related to a problem? Please describe.

When the LDAP connector is only used to synchronize accounts, but that another system is used to login (e.g. OAuth SSO), it would be nice to disallow users to login through the LDAP connector.

Describe the solution you'd like

Add a checkbox (checked by default) in the LDAP connector form: "Allow login with this LDAP connector".

In App\Service\LdapService::bindUser, check that the connector allows the login.

Describe alternatives you've considered

N/A

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    easy tasksGood for newcomerstopic: connectorsRelated to the synchronization and authentication connectors (LDAP, M365, IMAP)

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions