-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[BUG] After update Dashy is not authenticating and guest mode is always on #1126
Comments
I have encounter the same bug as well, running 2.1.1 on docker, no matter how I edit the config, the guest access is always on |
Same bug on 2.1.1, revert to 2.1.0 and authentications works again |
The issue is that if a user is not logged on in 2.1.1 it will allow one to go to the base / URL and it won't enforce /login like 2.0.1. I reverted for now this is an unreliable auth method in the meantime. I also noticed in 2.1.1 it will pass the yaml checker but if the enableGuestAccess: false is not in the yaml auth will not work. The documentation says in appconfig.auth this is optional and defaults to false, but if this is not in 2.1.1 it will not auth at all, among the bug. |
I am experiencing this, as well. |
Same problem here, working fine when I roll back to 2.1.0 |
I had the same issue updating to 2.1.1, but rolling back to 2.1.0 did not resolve the issue. I had to roll back to 2.0.0 to get the login working again. It had been a while since the docker was updated, maybe there was some intermediate change to the config that was not checked in 2.1.0 that leads to a similar issue as this 2.1.1 bug. |
This issue has gone 6 weeks without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days. |
Any update on this? |
I got a similar issue on 2.1.1 - adding the appConfig.auth section with one user and setting enableGuestAccess to false doesn't do anything - I don't get any login screen, manually going to /login redirects to the dashboard, and all links are visible, even those that are hidden for guests. |
I just noticed that the whole authentication thing seems to work when setting enableGuestAccess to true, but not when it's set to false |
Unfortunately not for me. All versions higher than v2.1.0 break the login for me, no matter what |
Have the same problem! |
Same issue. |
I believe I found the issue - see #1290 (comment) for a full writeup. |
Hi |
Docker not yet updated? I tried |
Please give us a moment, see here: |
Environment
Self-Hosted (Docker)
System
Docker 20.10.18
Version
2.1.1
Describe the problem
When opening my dashboard I noticed that I wasn't logged in (I couldn't change anything) but I could see my links, even if I tried manually setting
enableGuestAccess: false
on config.yml.I tried hideForGuests: true in a couple sessions too, that cause the whole browser screen to disappear.
Rolling back to 2.1.0 fixed the problem.
Additional info
No response
Please tick the boxes
The text was updated successfully, but these errors were encountered: