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

[BUG] OpenID redirect not triggered for index.html #1539

Closed
5 tasks done
Kirkland-gh opened this issue Apr 21, 2024 · 6 comments
Closed
5 tasks done

[BUG] OpenID redirect not triggered for index.html #1539

Kirkland-gh opened this issue Apr 21, 2024 · 6 comments
Assignees
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working

Comments

@Kirkland-gh
Copy link

Environment

Self-Hosted (Docker)

System

Docker

Version

3.0.0

Describe the problem

When I load / (index.html) I see the dashy loading page.

Screenshot 2024-04-20 at 10 16 39 PM

If I manually navigate to dashy.domain.com/login I am redirected to my OpenID url where I can authenticate and am redirected back. It was required to update my Valid redirect URIs in keycloak settings to get this to work.

the part of my appConfig related to auth

  auth:
    enableGuestAccess: false
    users: []
    enableKeycloak: true
    keycloak:
      serverUrl: https://keycloak.example.com
      realm: example-realm
      clientId: example-clientid
      legacySupport: false

I would like the redirect to happen when I load dashy.example.com/

Additional info

No response

Please tick the boxes

@Kirkland-gh Kirkland-gh added the 🐛 Bug [ISSUE] Ticket describing something that isn't working label Apr 21, 2024
@github-project-automation github-project-automation bot moved this to Awaiting Triage in Dashy V3 Apr 21, 2024
@Kirkland-gh Kirkland-gh changed the title [BUG] 3.0.0 OpenID redirect not triggered for index.html [BUG] OpenID redirect not triggered for index.html Apr 21, 2024
@liss-bot
Copy link
Collaborator

If you're enjoying Dashy, consider dropping us a ⭐
🤖 I'm a bot, and this message was automated

@Lissy93
Copy link
Owner

Lissy93 commented Apr 21, 2024

So just to clarify, you want http://[dashy].local to redirect to http://[dashy].local/login if not yet authenticated and KC is enabled?

@Kirkland-gh
Copy link
Author

If enableGuestAccess: false, yes.

@liss-bot liss-bot added the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Apr 21, 2024
@Kirkland-gh
Copy link
Author

Or I suppose some indication of how someone should login to get access to the page without just knowing they need to go to /login. A login button with a notification that you are not authorized yet would work as well.

@liss-bot liss-bot removed the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Apr 22, 2024
@Kirkland-gh
Copy link
Author

tested on 3.0.1 and this issue is still present.

@liss-bot liss-bot added the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Apr 29, 2024
@Lissy93
Copy link
Owner

Lissy93 commented Apr 29, 2024

Closing as duplicate of #1538

@Lissy93 Lissy93 closed this as completed Apr 29, 2024
@github-project-automation github-project-automation bot moved this from Awaiting Triage to Done in Dashy V3 Apr 29, 2024
@liss-bot liss-bot removed the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants