pytition / Pytition

Django app for self-hosted privacy-friendly online petitions
https://pytition.org
BSD 3-Clause "New" or "Revised" License
100 stars 28 forks source link

Provide a LDAP backend option for login #286

Open Salamandar opened 2 years ago

Salamandar commented 2 years ago

It would be nice to be able to login via a LDAP. A lot of orgs provide their LDAP. Obviously, we're talking about petition authors here, not signatories.

If enabled, LDAP shouldn't be mandatory. What I mean is that a lot of softwares use the ldap backend as "read-only" and also accept "local registration". Also, if the LDAP is enabled, local registration could be disabled by the administrator, to ONLY use the ldap.

Maybe this is a good ldap backend for django : https://django-auth-ldap.readthedocs.io/en/latest/