Flask authentication using LDAP

Viewed 7973

I've searched an answer for this but have found nothing - maybe because it's so obvious. But I want to make sure.

What is the correct way to authenticate users using an LDAP server in a Flask web app?

This link describes 4 authentication methods, so along the same lines, do I just need to write an LDAP auth decorator?

(The reason I'm asking is to see whether I can make a Flask clone of my Django app)

Thanks for any help and suggestions.

3 Answers
Related