Skip to content
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.

simple authentication fails behind proxy #320

Open
stegerjozsef opened this issue Apr 5, 2017 · 0 comments
Open

simple authentication fails behind proxy #320

stegerjozsef opened this issue Apr 5, 2017 · 0 comments

Comments

@stegerjozsef
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant