Flask - Active Directory Authentication

后端 未结 2 557
南方客
南方客 2021-01-31 16:20

I made a small Flask application and I would like users to be able to authenticate with their Windows NT IDs. I am not a part of the IT team, so I have limited insight into this

2条回答
  •  忘掉有多难
    2021-01-31 16:40

    For Name: Flask-LDAP, Version: 0.1.6 use this:

    To install: pip install Flask-LDAP

    and import by:

    from flask import Flask
    from flask_ldap import LDAP, login_required
    

    then follow along Priyank's example.

提交回复
热议问题