-
-
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] auth doesnt work, especially keycloak #1290
Comments
If you're enjoying Dashy, consider dropping us a ⭐ |
Same here. Basic auth is not working. |
Was about to give up, because I couldn't find what I was doing wrong. https://url/login redirects to https://url/ I deleted cache, restarts, incognito, other browsers etc. appConfig:
theme: nord-frost
layout: auto
iconSize: medium
language: en
auth:
users:
- user: randyjc
hash: <REDACTED>
type: admin
pageInfo:
title: Dashy
description: Welcome to your new dashboard!
navLinks:
- title: GitHub
path: https://github.com/Lissy93/dashy
- title: Documentation
path: https://dashy.to/docs
sections:
- name: Getting Started
icon: fas fa-rocket
items:
- title: Dashy Live
description: Development a project management links for Dashy
icon: https://i.ibb.co/qWWpD0v/astro-dab-128.png
url: https://live.dashy.to/
target: newtab
id: 0_1481_dashylive
- title: GitHub
description: Source Code, Issues and Pull Requests
url: https://github.com/lissy93/dashy
icon: favicon
id: 1_1481_github V2.1.1 via PikaPods EDIT: Probably related: #1126 |
same here, auth (basic) doesnt work =( |
I am new to Dashy (Just set it up about a week ago.) Today I was following the basic auth docs and I am also seeing the same issue. Opening Dashy, I just get to my dashboard. If I go to config, update config, edit config, I see a message across the bottom "You cannot write changes to disk because you are not logged in as an administrator". So it would seem it knows about my new user account that is an admin, however it is not redirecting to login. I've tried multiple browsers (Edge, chromium, Chrome), and multiple PCs, but there is no change. If it matters, I added the auth config by hand from ssh use VI. Thanks Andy |
I seem to be having a similar issue. |
+1 Basic auth is NOT working, new user running Docker, auth is configured, dashboard is completely exposed and unsecured. Have attempted these additional configuration options mentioned in other Issues.
Here is my entire
Auth tickets should be a priority. Related to these other Issues that are getting closed from the timeout bot. It does not appear the repo owner @Lissy93 is responding these. |
Is this still going on? I think I have the same problem but cant seem to find a fix if there is maybe someone can direct me into the right direction? |
I've not found a solution yet. So for now I've just disabled Dashy. |
I am experiencing the same issue too... Neither keycloak nor basic auth working... Lets hope @Lissy93 can fix it soon somehow. |
+1 EDIT: Reverting to 2.1.0 seems to fix the issue |
+1 on docker swarm Btw. Thanks for superb app, and no pressure ;) |
Hello @CrazyWolf13 ! I am still having issue with dashy blocked in a never ending refresh. I have the page with auth with keycloak, and when I am login in, I have dashy that is stuck refreshing and not working. I don't know if its still an issue with dashy or if it is a config problem :( |
@Unacoli Also would you mind sharing your conf.yml ? |
I have a sort of working setup in case you want to compare notes. Without the later docker command Dashy will work, but not ask for credentials, which is the opposite of fail-safe I guess :-) |
Thanks for sharing, also is that still happening in 2.1.2 ? Because in the new version dashy should rebuild at start? |
Yes, this is what I am running:
|
Yes I am indeed running the latest version.
|
The command sadly didn't solved the refresh problem :( I really don't understand if the problem come from me or not since its gave me the right connexion prompt, and after login its locked in the refreshing state (i also see my connexion log on dashy on the keycloak log) |
I've investigated a little more browsing tickets, and I find the answer to my problem ! In Keycloak, in my dashy client, I had to turn off this option : It works perfectly now, thank you all ! And for note, the command Edit : I've added the line |
I also have this problem, normal login works, keycloak not, even with this feature disabled... No login page and config file open to anyone. Any updates on this? |
Keycloak is working for me now on 3.0.0 when I go to dashy.domain.com/login. Is anyone else able to test? |
Console output after keycloak authorization: Error while trying to use the following icon from the Manifest: https://***.domen.com/web-icons/dashy-pwa_144x144.png (Download error or resource isn't a valid image) Warning : Deprecation warning: The |
can you show conf.yml and a screenshot of the clients setting in keycloak? |
Only one user so no roles or groups.
|
Great! It works with version 3.0.1 |
Environment
Self-Hosted (Docker)
System
debian
Version
2.1.1
Describe the problem
Deploy dashy in kubernetes with ingress
tried to make auth by dashy documentation, but it didnt work, even basic auth with user hash and title
also auth parameters as enableGuestAccess doesnt work
i think its something in last update, that interfere auth work
last git update was a week ago, maybe u didnt update documentation
Additional info
No response
Please tick the boxes
The text was updated successfully, but these errors were encountered: