https://github.com/nickw444/flask-ldap3-login
LDAP3 Logins for Flask/Flask-Login
https://github.com/nickw444/flask-ldap3-login
flask flask-extensions hacktoberfest ldap ldap-library python python2 python3
Last synced: 3 months ago
JSON representation
LDAP3 Logins for Flask/Flask-Login
- Host: GitHub
- URL: https://github.com/nickw444/flask-ldap3-login
- Owner: nickw444
- License: mit
- Created: 2015-03-06T04:19:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-08-15T12:45:40.000Z (11 months ago)
- Last Synced: 2025-03-29T12:54:50.841Z (4 months ago)
- Topics: flask, flask-extensions, hacktoberfest, ldap, ldap-library, python, python2, python3
- Language: Python
- Homepage: http://flask-ldap3-login.readthedocs.org/en/latest/
- Size: 643 KB
- Stars: 73
- Watchers: 6
- Forks: 38
- Open Issues: 21
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Flask-LDAP3-Login
============================================.. image:: https://github.com/nickw444/flask-ldap3-login/actions/workflows/workflow.yaml/badge.svg
:target: https://github.com/nickw444/flask-ldap3-login/actions/workflows/workflow.yaml.. image:: https://coveralls.io/repos/nickw444/flask-ldap3-login/badge.svg
:target: https://coveralls.io/r/nickw444/flask-ldap3-login.. image:: https://img.shields.io/pypi/v/flask-ldap3-login.svg
:target: https://pypi.python.org/pypi/flask-ldap3-login/
:alt: Latest VersionFlask LDAP3 Login allows you to easily integrate your flask app with an LDAP
directory. It can be used as an extension to Flask-Login and can even be used
with Flask-Principal for permission and privilege management.Flask LDAP3 Login uses the `ldap3 `_ library,
and maintains compatibility with those versions of Python supported by upstream.Flask LDAP3 Login **Will**:
* Allow you to query whether or not a user's credentials are correct
* Query the directory for users details
* Query the directory for group details
* Query the directory for users group memberships
* Provide a contextual ``ldap_manager.connection`` object (``ldap3.Connection``)
which can be used in any flask request context. Useful for writing
your own more advanced queries.
Flask LDAP3 Login **Wont**:
* Provide a login/logout mechanism. You need to provide this with something
like `flask-login `_
* Provide any extension to the application's session. User tracking and
group tracking should be done via `flask-login `_ and `flask-principal `_`View the Full Documentation at ReadTheDocs `_