Bug description
After portainer session timeout, and the user clicks any page, it will go to login page.
However, clicking login button has no response, staying in /auth. In fact the login is successful.
Then user has to press F5. It will go to /home
Expected behavior
Click Login button to go to /home immediately.
Briefly describe what you were expecting.
Steps to reproduce the issue:
Steps to reproduce the behavior:
/auth. Enter user and password, Click on 'Login'/home, login actually is successfulTechnical details:
docker run -d -p 9000:9000 -v $(pwd)/dist:/app -v /tmp/portainer:/data -v /var/run/docker.sock:/var/run/docker.sock:z --name portainer portainer/base /app/portainer --no-analytics --template-file /app/templates.json):For the record, this is happening on the following URI:
https://portainer.domain.com/#/auth?redirect=portainer.auth
I was assuming this was a reverse proxy configuration issue (NGINX). Looks like this is the root cause. Submitting my login information from that URI doesn't move me to anything. But if I refresh the page, I am logged in and on the dashboard.
This has been happening to me too
Yes the root cause is the redirect=portainer.auth part, this has been fixed and will be part of 1.20.2.
Most helpful comment
Yes the root cause is the
redirect=portainer.authpart, this has been fixed and will be part of 1.20.2.