Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When login again after session timeout, need to press F5 #2700

Closed
linquize opened this issue Feb 9, 2019 · 3 comments
Closed

When login again after session timeout, need to press F5 #2700

linquize opened this issue Feb 9, 2019 · 3 comments

Comments

@linquize
Copy link
Contributor

linquize commented Feb 9, 2019

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:

  1. Session timeout
  2. Click any page
  3. Redirect to /auth. Enter user and password, Click on 'Login'
  4. Login seems no response
  5. Press F5, it redirect to /home, login actually is successful

Technical details:

  • Portainer version: 1.20.1
  • Docker version (managed by Portainer): 18.09
  • Platform (windows/linux): Linux
  • Command used to start Portainer (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):
  • Browser: Firefox
@rcdailey
Copy link

rcdailey commented Mar 2, 2019

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.

@EugeneKallis
Copy link

This has been happening to me too

@deviantony
Copy link
Member

Yes the root cause is the redirect=portainer.auth part, this has been fixed and will be part of 1.20.2.

@ghost ghost moved this from Need triage to Confirmed in Bug triage Nov 28, 2019
@ghost ghost removed this from Confirmed in Bug triage Nov 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants