-
-
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] Dashy not work with latest Keycloack 26.0.5 #1747
Comments
@logrisua, Keycloak auth is broken and should soon be deprecated (I think). You should use the OIDC-based auth solution with which you can achieve the same result. |
To be clear, you can configure that auth solution to use keycloak, right? Keycloak is OIDC compliant. |
Exactly. Just replace the adequate fields in the documentation example and you should be good to go. |
Thanks guys! I was able to run it through OIDC via Keycloak. But now I can't figure out how to set up access by roles. For example, access to Dashy administration only for users with the DashyAdmin role. Or access to certain sections or pages for certain roles. Maybe someone can share an example of a working config? |
Can you share your config? I gave it a try and landed exactly on the same issue than the original keycloak config.
I ended up putting oauth2-proxy in front of dashy, but I lost groups and role granularity....
|
Here are the settings with which authorization worked for me, but I still couldn’t figure out whether roles and groups are pulled up and how to configure access.
|
Environment
Self-Hosted (Docker)
System
Firefox 132.0.2
Version
3.1.1
Describe the problem
Dashy not work with latest Keycloack 26.0.5.
docker compose file:
Dashy conf.yml
Dashy nginx conf
Keycloak nginx conf
Keycloack client settings:
When opening https://dashy.local.com it redirects to https://keycloak.local.com, where I enter my login and password, then it redirects back to https://dashy.local.com, and then the page "It looks like something's gone wrong...
This is likely caused by the app source not being found at the current domain."
I've tried all the settings according to what I found in the documentation, but the result is always the same. And there are no errors or suggestive information in the keycloak or Dashy logs.
Authorization for more than a dozen different services works without problems through my keycloak, but I can't get Dashy to work.
Additional info
No response
Please tick the boxes
The text was updated successfully, but these errors were encountered: