miguelgrinberg/Flask-HTTPAuth
Simple extension that provides Basic, Digest and Token HTTP authentication for Flask routes observed · 2026-08-28
Health v2 · maintenance only
73/100
- Activity 82
- Release rhythm 45
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4855
- days_rel: 158
- days_push: 111
- n_releases_24m: 1
Adoption not part of the score
1289 stars · 238 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Flask-HTTPAuth is a Flask extension that adds HTTP authentication to routes, supporting Basic, Digest, and Token schemes. It provides decorators and callbacks for verifying credentials and protecting endpoints.
Use cases
- add basic auth to flask routes
- protect flask api endpoints with token authentication
- implement digest authentication in flask
- require login for flask views
- secure a flask rest api with http auth
When to choose
- you use Flask and need simple HTTP Basic, Digest, or Token authentication
- you want a lightweight, decorator-based auth layer without a full auth framework
- you need fine-grained control over credential verification callbacks
When to avoid
- you need full user management with registration, sessions, and OAuth (use Flask-Security or Authlib)
- your app is not built on Flask
- you need social login or SSO flows
Facets
library · maturity stable
auth middleware web-development backend security apis python flask http-authentication basic-auth digest-auth token-auth flask-extension web-server
2 sources
- readme: https://github.com/miguelgrinberg/Flask-HTTPAuth · fetched 2026-08-28 · 7377c59d3225
- registry_pypi: https://pypi.org/pypi/flask-httpauth/json · fetched 2026-08-29 · dff7c6ed6cca
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| miguelgrinberg/Flask-HTTPAuth | main | 73 |
For agents
markdown · JSON · MCP: product_card(name="miguelgrinberg/Flask-HTTPAuth")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem