jupyter/dashboards_server

simple authentication fails behind proxy

stegerjozsef opened this issue · 0 comments

We are using development version (0.9-dev) dashboard server.

The following environment variables are set:

export TRUSTED_PROXY=uniquelocal
export BASE_URL=/db

and the dashboard works as expected (without authenticating the user).

By setting

export USERNAME=demo
export PASSWORD=demo

and restarting the dashboard server, user needs to authenticate.

The problem is the default page https://proxy/db redirects to the login page https://proxy/login, which is unavailable. I assume the correct redirect should be https://proxy/db/login. Seems this part of the code does not implement BASE_URL or else please let us know what further configuration is needed.

thnx