Authentication doesn't work when opening app with pathname


I am using the dcc.Location component to open my dashboards with certain data already populated. I am now attempting to add authentication to the process. The problem I have is that if I open the dashboard with a pathname in the URL then I receive a 403 error rather than the login popup/screen. This happens with both the Basic auth and the Plotly auth.

Any idea for how to work around this? Or whether the authentication process can be changed to allow it?


I am also having this problem.
Did you ever find out what the issue was?


I suspect that its due to the fact that the base Auth class works by rewriting the index page; if that never happens, then the auth is never fired. See here: