Skip to main content

Flask-Security

https://github.com/pallets-eco/flask-security/workflows/tests/badge.svg?branch=main&event=push Coverage! https://img.shields.io/github/tag/pallets-eco/flask-security.svg Downloads Downloads License Documentation Status https://img.shields.io/badge/code%20style-black-000000.svg pre-commit

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.

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 Auth’ integrated (using authlib) (5.1)

    • WebAuthn 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)

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

Metadata

Release files for Flask-Security 5.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Flask-Security 5.5.1
File Size Uploaded Provenance Actions
flask_security-5.5.1.tar.gz 675.7 kB Without provenance Details for flask_security-5.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Flask-Security 5.5.1
File Interpreter ABI Platform Actions
Flask_Security-5.5.1-py3-none-any.whl Python 3 none any Details for Flask_Security-5.5.1-py3-none-any.whl

Total release size: 1.1 MB

Release files / flask_security-5.5.1.tar.gz

Download URL flask_security-5.5.1.tar.gz
Size 675.7 kB
Tags Source
SHA-256 checksum
How to use checksums
68de7a51487817e9de36d13ef6f9591087f569b0702ddf9322574845fa8d10cf
BLAKE2b-256 checksum
How to use checksums
6d300845bb3195348e0a3cabc894646df8233ad2eeb17496035df7700d535e38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.4

Release files / Flask_Security-5.5.1-py3-none-any.whl

Download URL Flask_Security-5.5.1-py3-none-any.whl
Size 419.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
174eca55e026e03cb025086fe8fb557d9f6c9d71eb90c9a234d279172fe33302
BLAKE2b-256 checksum
How to use checksums
e894d7dd9093313c46b4276940586544580e944f35f079f7bc2d114639f3c45b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.4

Security for Flask-Security 5.5.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

5.5.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page