-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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] Authentication does not work correctly #1082
Comments
If you're enjoying Dashy, consider dropping us a ⭐ |
I do have a very similar problem. Sometimes i can see my Dashboard (Auth Enabled, Guestmode Disabled) but still i am not logged in (can't do any changes). |
I can add to this problem as well. I have installed fresh install yesterday in docker with auth enabled (guestmode disabled). And when I open the site up it shows dashboard firstly, not the login page. But when I create something and save it locally (I am only allowed to save it locally), after that I refresh the page and then the site forces you to the login page, but if I delete the cache, dashboard opens up first again before the login page. I tried with guestmode enabled, it does the same thing (opens dashboard firstly before the login page). |
I am also experiencing authentication issues: Even though enableGuestAccess is set to false, I can access my dashboard using a Chrome in incognito mode. It seems to indicate my dashboard is now publicly accessible. I rolled back to a snapshot of the Dashy container image I took 5 months ago, using the same conf.yml file, and authentication works as expected. |
I can also confirm when using the docker image for 2.1.1, a perfectly functioning conf.yml from 2.1.0 will not work for keycloak authentication - actually I did not even notice up until today. I sent the dashboard to someone else and they asked me why the do not need to log in to see elements (so it shows it as if you are already logged in and presents every link to the public!). I rolled back to 2.1.0 and it instantly worked again. As a test I started cutting everything out of my conf.yml but I never succeeded in getting keycloak running with 2.1.1. I noticed there were already issuses opened for this: #1019 #1063 #990 |
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. |
This issue was automatically closed because it has been stalled for over 6 weeks with no activity. |
See #1290 (comment) for a potential fix/explanation For notifications: |
Environment
Self-Hosted (Docker)
System
Windows 10 21H2 , Firefox 109.0 x64
Version
2.1.1
Describe the problem
I have set up two users, malordin and admin, with hash and type : admin. But if I log in without cookies and then log in, I can't change the configuration under any user with admin rights. In addition, I have 2 sections hidden from Guests, but when I log in as any user with admin privileges, I still can not see them. What is the problem?
Additional info
Here is my beginning of conf.yml
There is no information in the logs:
Please tick the boxes
The text was updated successfully, but these errors were encountered: