[Flask] Flask-Login / multiple auth backends

Corey Boyle coreybrett at gmail.com
Sat Jun 15 09:40:55 EDT 2019


Has anyone ever done different logins for different Blueprints?

I have a site which is mostly public, except one Blueprint that requires
authentication using Flask-Login which uses LDAP as the backend.

Now I would like to add another Blueprint that uses a traditional
registration based setup.

How could I configure Flask-Login to work for both?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20190615/b93dbf66/attachment.html>


More information about the Flask mailing list