Skip to main content

LDAP Support for Flask

Project description

https://github.com/nickw444/flask-ldap3-login/actions/workflows/workflow.yaml/badge.svg https://coveralls.io/repos/nickw444/flask-ldap3-login/badge.svg Latest Version

Flask 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask_ldap3_login-1.0.2.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

flask_ldap3_login-1.0.2-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file flask_ldap3_login-1.0.2.tar.gz.

File metadata

  • Download URL: flask_ldap3_login-1.0.2.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for flask_ldap3_login-1.0.2.tar.gz
Algorithm Hash digest
SHA256 969d2e4263aa0908383174d9700e03198a5eb3db483b26a18f9ea634032cbdd4
MD5 a6def8369e1ac2668d8ae7a775eaa4b1
BLAKE2b-256 36ec4b565bde4cb411d236f6f7e56b05158a5d509f75ccfd43f51c71ef0c33e4

See more details on using hashes here.

File details

Details for the file flask_ldap3_login-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for flask_ldap3_login-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 72368ea58b5faac4935d1f3e5ec1fcfdce51cc16adbec41a74c834247422ac61
MD5 970c36e4c1b6ffaea2ce9cc42e93b7e6
BLAKE2b-256 cc8fdccbcd2600fb477042dd42ab953c39277ef156c96b5c915c14d583a737c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page