Welcome to Flask-Identity!

Flask-Identity: add a drop of security to your Flask application.

Flask-Identity allows you to quickly add common security mechanisms to your Flask application. They include:

  1. Session based authentication

  2. User and role management

  3. Password hashing

  4. Basic HTTP authentication

  5. Token based authentication

  6. Login tracking

  7. JSON/Ajax Support

Why create Flask-Identity?

Currently there are so many security middleware for Flask, most them depends on many extensions/libraries. It’s easy to start but hard to configure because some options are defined by the dependencies.

Flask-Identity is a lightweight security extension with all-in-one configurations and less third dependencies, some codes are direct merged from other successful open-source libraries:

* `Flask-Login <https://flask-login.readthedocs.org/en/latest/>`_
* `Flask-Security <https://flask-security.readthedocs.org/en/latest/>`_

Getting Started


Additional Notes