--- id: flask-login version: "0.6.3" license: MIT license_treatment: permissive maintenance: aging --- # Flask-Login — User authentication and session management for Flask. License: permissive · Maintenance: aging · Popularity: top 1,000 on PyPI ## Install pip install flask-login uv add flask-login poetry add flask-login ## Description # Flask-Login ![Tests](https://github.com/maxcountryman/flask-login/workflows/Tests/badge.svg) [![coverage](https://coveralls.io/repos/maxcountryman/flask-login/badge.svg?branch=main&service=github)](https://coveralls.io/github/maxcountryman/flask-login?branch=main) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE) Flask-Login provides user session management for Flask. It handles the common tasks of logging in, logging out, and remembering your users' sessions over extended periods of time. Flask-Login is not bound to any particular database system or permissions model. The only requirement is that your user objects implement a few methods, and that you provide a callback to the extension capable of loading users from their ID. ## Installation Install the extension with pip: ```sh $ pip install flask-login ``` ## Usage Once installed, the Flask-Login is easy to use. Let's walk through setting up a basic application. Also please note that this is a very basic guide: we will be taking shortcuts here that you should never take in a real application. To begin we'll set up a Flask app: ```python import flask app =... ## AI interpretation — verify before relying Flask-Login provides user session management for Flask applications, handling login, logout, and persistent user sessions without tying you to any specific database or permissions model. Verdict: Flask-Login is a stable, permissively licensed session-management extension for Flask with low install friction and no known vulnerabilities. Its aging maintenance status (last release October 2023) is typical for mature, feature-complete libraries, though potential users should monitor the repository for security updates. [View on SkillFed](https://skillfed.io/packages/flask-login) · [View on PyPI](https://pypi.org/project/flask-login/)