All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
PlotlyAuth
now supports "secret" authentication using theshare_key
parameter.
- All
Auth
subclasses must now implementindex_auth_wrapper()
. Seebasic_auth.py
for an example that preserves the existing behaviour.
PlotlyAuth
now supports multiple URLs. Supply a localhost URL and a remote URL in order to test your Plotly login on your local machine while keeping the login screen available in your deployed app. Usage:
dash_auth.PlotlyAuth(app, 'my-app', 'private', [
'https://my-deployed-dash-app.com',
'http://localhost:8050'
])
See plotly#29
PlotlyAuth
is now stateless. This allowsPlotlyAuth
to be used in Dash Apps that are deployed with multiple workers. See plotly#32
- Added logging on request failure for the
PlotlyAuth
handler - Added retry logic for the
PlotlyAuth
handler
- The oauth redirect URL is now trailing-backslash insensitive
- Allow the version to be imported with
dash_auth.__version__
- Wrap string responses in a
flask.Response
so that cookies can be added to it
- Fixed authentication with path based routing with dash==0.18.3
- Add path and secure attributes to the plotly auth cookies for
PlotlyAuth
- No longer implicitly saves
localhost:8050
as a valid oauth redirect URL forPlotlyAuth
- Path-based routing with Plotly auth for apps where
app.config.requests_pathname_prefix
is not/
now works
- Python 3 support for Basic Auth
- Integration and continuous integration tests
- Python 3 support for Plotly Auth
First stable Python 2 release