.. rst-class:: hide-header Welcome to Flask-Security ========================= .. image:: _static/logo-owl-full-240.png :alt: Flask-Security: add a drop of security to your Flask application. :align: left :width: 100% :target: https://github.com/pallets-eco/flask-security Flask-Security allows you to quickly add common security mechanisms to your Flask application. They include: 1. Authentication (via session, Basic HTTP, or token) 2. User registration (optional) 3. Role and Permission management 4. Account activation (via email confirmation) (optional) 5. Password management (recovery and resetting) (optional) 6. Username management (configuration, recovery, change) (optional) 7. Two-factor authentication via email, SMS, authenticator (optional) 8. Passkey (Webauthn) Support (optional) 9. Social Login (OAuth) for authentication (e.g. google, github, ..) (optional) 10. Change email (optional) 11. Login tracking (optional) 12. JSON/Ajax Support Many of these features are made possible by integrating various Flask extensions and libraries. They include: * `Flask-Login `_ * `Flask-Mail `_ * `Flask-Principal `_ * `Flask-WTF `_ * `itsdangerous `_ * `passlib `_ * `QRCode `_ * `webauthn `_ * `authlib `_ Additionally, it assumes you'll be using a common library for your database connections and model definitions. Flask-Security supports the following Flask extensions out of the box for data persistence: 1. `Flask-SQLAlchemy `_ 2. `MongoEngine `_ 3. `Peewee Flask utils `_ 4. `SQLAlchemy sessions `_ 5. `Flask-SQLAlchemy-Lite `_ Getting Started ---------------- .. toctree:: :maxdepth: 2 installation quickstart features configuration models Customizing and Usage Patterns ------------------------------- .. toctree:: :maxdepth: 2 customizing webauthn two_factor_configurations spa patterns API --- `OpenApi Spec`_ .. _OpenApi Spec: _static/openapi_view.html .. toctree:: :maxdepth: 2 api Additional Notes ---------------- .. toctree:: :maxdepth: 2 contributing changelog authors