Skip to main content

A lightweight extension & library to security Flask applications quickly and simply.

Project description Downloads License Documentation Status

A lightweight extension & library to security Flask applications quickly and simply.

About Flask-Identity

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:


Issues and pull requests are welcome. Please consult these contributing guidelines.


Install and update using pip:

pip install -U Flask-Identity


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask_identity-1.0.6.tar.gz (26.6 kB view hashes)

Uploaded source

Built Distribution

flask_identity-1.0.6-py3-none-any.whl (35.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page