Skip to content Skip to sidebar Skip to footer

Sso With Kerberos

I am trying to do authentication with Kerberos and the Python flask-kerberos module. Basically this is my code: DEBUG=True app = Flask(__name__) app.config.from_object(__name__)

Solution 1:

If you are on HTTPd, don't waste your time, use https://github.com/gssapi/mod_auth_gssapi. The remote user will be available via Werkzeug/Flask.

<Location /foo>
  AuthType GSSAPI
  AuthzSendForbiddenOnFailure On
  Require valid-user # Require user michael-o@EXAMPLE.COM
</Location>

Post a Comment for "Sso With Kerberos"