Quickly add security features to your Flask application.
Notes on this repo
As of 7/30/2024, the independent fork Flask-Security-Too replaced the archived Flask-Security repo (now called Flask-Security-3.0). This repo is published at PyPI at both Flask-Security and Flask-Security-Too. Please consider changing your requirements file to point to flask-security.
Flask-Security-Too was a fork from the 3.0.0 version of the Original
Pallets Community Ecosystem
This project is part of the Pallets Community Ecosystem. Pallets is the open source organization that maintains Flask; Pallets-Eco enables community maintenance of related projects. If you are interested in helping maintain this project, please reach out on the Pallets Discord server <https://discord.gg/pallets>.
Goals
Use OWASP to guide best practice and default configurations.
Be more opinionated and ‘batteries’ included by reducing reliance on abandoned projects and bundling in support for common use cases.
Follow the Pallets lead on supported versions, documentation standards and any other guidelines for extensions that they come up with.
- Continue to add newer authentication/authorization standards:
‘Social Login (OAuth)’ integrated (using authlib) (5.1)
WebAuthn/Passkey support (5.0)
Two-Factor recovery codes (5.0)
First-class support for username as identity (4.1)
Support for freshness decorator to ensure sensitive operations have new authentication (4.0)
Support for email normalization and validation (4.0)
Unified signin (username, phone, passwordless) feature (3.4)
Two/Multi-Factor authentication supporting SMS, email, authenticator apps (4.0)
Contributing
Issues and pull requests are welcome. Other maintainers are also welcome. Please consult these contributing guidelines.
Installing
Install and update using pip:
pip install -U Flask-Security
Resources
Release files for Flask-Security-Too 5.8.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flask_security_too-5.8.2.tar.gz | 752.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_security_too-5.8.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.2 MB
Release files / flask_security_too-5.8.2.tar.gz
| Download URL | flask_security_too-5.8.2.tar.gz |
|---|---|
| Size | 752.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4ad7448a83679a9c255700bd28979c685e66f89dd7c2eca7de8f4a52e5bd89f
|
|
BLAKE2b-256 checksum How to use checksums |
96ad3e9120b7fe5ac82aa4cd2926913ead138679af6f2b5bd09466bd0f80d6bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.
Transparency logRelease files / flask_security_too-5.8.2-py3-none-any.whl
| Download URL | flask_security_too-5.8.2-py3-none-any.whl |
|---|---|
| Size | 493.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb4b97e6161660681ed264ba2fc10faba49580d2da4331d5156ab35004d66086
|
|
BLAKE2b-256 checksum How to use checksums |
e77ad0553b193d8dcb9f4969012a24edc8461ef8c5da524afbbe7abc1a05ec27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.
Transparency log