{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/2"}],"enrichment":{"capability":"Adds HTTP Basic, Digest, and Token authentication decorators to Flask routes, protecting endpoints with standard credential verification.","skillfed_tags":["http-auth","flask-extension","security"],"use_cases":["Protect REST API endpoints with Basic authentication for internal tools or third-party integrations.","Add Digest authentication to web services where credentials must not be sent in plaintext.","Implement Token-based authentication for mobile apps or single-page applications.","Secure administrative routes in Flask applications with simple decorator-based access control.","Build microservices that require lightweight HTTP authentication without external identity providers."],"what_it_does":"Flask-HTTPAuth is a lightweight extension that adds HTTP authentication to Flask applications. It provides decorators for three standard authentication schemes\u2014Basic, Digest, and Token\u2014allowing you to protect individual routes or groups of routes with credential verification. You define a callback function to validate credentials against a database or in-memory store, then decorate your route handlers with @auth.login_required to enforce authentication.\n\nThe package integrates directly with Flask's request handling and works with standard HTTP authentication protocols. It's designed for straightforward authentication needs in REST APIs and web applications where you want to avoid the overhead of session management or third-party OAuth providers. The extension handles the HTTP protocol details\u2014parsing Authorization headers and managing authentication state\u2014so you focus only on credential validation logic.","worth_installing":"Yes. Flask-HTTPAuth is a mature, actively maintained package with no known vulnerabilities, permissive licensing, and minimal install friction. It solves a common problem\u2014protecting Flask routes with standard HTTP authentication\u2014directly and without unnecessary dependencies. Install it when you need straightforward Basic, Digest, or Token auth and want to avoid building authentication from scratch."},"id":"flask-httpauth","links":{"html":"https://skillfed.io/packages/flask-httpauth","md":"https://skillfed.io/packages/flask-httpauth.md","pypi":"https://pypi.org/project/flask-httpauth/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-28","license_spdx":null,"license_treatment":"permissive","name":"Flask-HTTPAuth","python_support":"unspecified","summary":"HTTP authentication for Flask routes"},"popularity":{"monthly_downloads":2582543,"position":2985,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"4.8.1"}
