jupyter / dashboards_server

[RETIRED] Server that runs and renders Jupyter notebooks as interactive dashboards
Other
181 stars 48 forks source link

simple authentication fails behind proxy #320

Open stegerjozsef opened 7 years ago

stegerjozsef commented 7 years ago

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