dash-auth
Dash Authorization Package.
Decision gist · record as of 2026-08-14
Yes, if you need straightforward authentication for a Dash app and can tolerate dormant maintenance. The package is stable and has no known vulnerabilities, but expect no active updates. Choose it for simple internal dashboards or when OIDC integration saves you from building OAuth2 yourself; avoid it if you need active support or frequent security patches.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Python 3.8 or greater is required.
- Low install friction with pure Python dependencies (dash, flask, werkzeug).
- Maintenance is dormant—last release was 878 days ago—so expect no active bug fixes or feature updates, though the package is marked Production/Stable.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2024-03-19 (878 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 122,347 downloads/mo, #11,955 on PyPI
Alternatives
Verify before relying
pip install dash-auth
from dash import Dash
from dash_auth import BasicAuth
app = Dash(__name__)
USER_PWD = {"username": "password"}
BasicAuth(app, USER_PWD)- Whether dormant maintenance status affects real-world reliability for production Dash deployments.
- How well OIDC integration handles token refresh and session expiry in long-running apps.
- Performance characteristics when protecting many routes or callbacks with group-based permissions.
What it is and what it does
dash-auth is an authentication layer for Plotly Dash applications that integrates HTTP Basic Authentication and OpenID Connect (OIDC) login flows. It wraps your Dash app with login enforcement, allowing you to restrict access by username/password or delegate to an external identity provider. The package sits on top of dash, flask, and werkzeug, intercepting requests before they reach your Dash callbacks and layouts.
You can whitelist public routes (e.g., a landing page) and use decorators like `protected_callback` and `protected` to guard specific parts of your app. It also supports user groups—you can assign users to groups and check group membership in callbacks to implement role-based access control. For OIDC, you register one or more identity providers and the package handles the OAuth2 redirect flow automatically.
Use it for
- Restrict a Dash dashboard to authenticated users with a simple username/password dictionary or custom auth function.
- Delegate login to an enterprise identity provider (e.g., Okta, Azure AD) via OIDC without building OAuth2 yourself.
- Whitelist a public landing page while protecting member-only analytics or reports behind login.
- Implement role-based access by assigning users to groups and checking group membership in callbacks.
- Protect individual callbacks or page sections so only authenticated users with the right group can trigger them.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need straightforward authentication for a Dash app and can tolerate dormant maintenance.
The package is stable and has no known vulnerabilities, but expect no active updates. Choose it for simple internal dashboards or when OIDC integration saves you from building OAuth2 yourself; avoid it if you need active support or frequent security patches.
Install
dash-auth on PyPI
Before you install
Low install friction with pure Python dependencies (dash, flask, werkzeug). Maintenance is dormant—last release was 878 days ago—so expect no active bug fixes or feature updates, though the package is marked Production/Stable.
Python 3.8 or greater is required.
License in practice
MIT license is permissive; you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install dash-auth
from dash import Dash
from dash_auth import BasicAuth
app = Dash(__name__)
USER_PWD = {"username": "password"}
BasicAuth(app, USER_PWD)
Verify before relying
- Whether dormant maintenance status affects real-world reliability for production Dash deployments.
- How well OIDC integration handles token refresh and session expiry in long-running apps.
- Performance characteristics when protecting many routes or callbacks with group-based permissions.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesdashflaskwerkzeug |
| Maintenance | Dormant 878 days since the last release |
| First released | |
| Downloads | 122,347 / month, #11,955 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: FlaskIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Financial and Insurance IndustryIntended Audience :: Healthcare IndustryIntended Audience :: ManufacturingIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Database :: Front-EndsTopic :: Office/Business :: Financial :: SpreadsheetTopic :: Scientific/Engineering :: VisualizationTopic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: Widget Sets |
Evidence: dash_auth-2.3.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “dash authentication login”
- dash-authAdds HTTP Basic Authentication and OpenID Connect (OIDC) login to…
- dash-html-componentsProvides vanilla HTML components for use in Dash applications,…
- dash-svgProvides SVG component primitives (Svg, G, Path, Circle, etc.) for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also flask-oidc · Flask-HTTPAuth · dash-cytoscape · dash · dash-svg · mozilla-django-oidc · dash-table · dash-core-components · dash-html-components · micloud