mckinsey / vizro

Vizro is a toolkit for creating modular data visualization applications.
https://vizro.readthedocs.io/en/stable/
Apache License 2.0
2.73k stars 142 forks source link

Authentication/authorization support or documentation #71

Open brylie-wolt opened 1 year ago

brylie-wolt commented 1 year ago

What's the problem this feature will solve?

Typically, organizations need to control access to data dashboards to ensure only trusted stakeholders can view the information.

Describe the solution you'd like

Authentication and authorization are the mechanisms most commonly used to provide access control. It is possible to leverage an existing authentication framework in the Python ecosystem and build an authorization mechanism for per-dashboard, chart, and query/data source control (depending on the desired granularity).

Alternative Solutions

VPN is an alternative but is typically less user-friendly while still leaving the possibility of accidentally exposing dashboards on public-facing URLs.

Additional context

Plotly Dash enterprise demonstrates the need for authentication/authorization. The package django-plotly-dash shows one example of integrating Plotly Dash in a framework with inbuilt authentication/authorization mechanisms.

Code of Conduct

huong-li-nguyen commented 1 year ago

Thanks a lot for the writeup @brylie-wolt! It will take us some time to get to this issue because we are currently prioritizing other features. However, we have it as a discussion topic in our future roadmap, so we can revert back here when there are any updates!

AnnMarieW commented 8 months ago

You may be interested in the latest release of Dash Auth, which add a lot of great new features to the open source authentication for Dash apps :tada: