ajnart / homarr

Customizable browser's home page to interact with your homeserver's Docker containers (e.g. Sonarr/Radarr)
https://homarr.dev
MIT License
5.48k stars 253 forks source link

Homarr + authentik #1994

Closed Wail1ng closed 1 month ago

Wail1ng commented 3 months ago

Description

Hello, I'm using authentik as an SSO with homarr and OIDC, everything is working as expected, but i'm wondering if there is a way to make homarr display directly the authentik login page instead of homarr login page ?

Please tick the boxes

github-actions[bot] commented 3 months ago

Hi 👋. Thank you for submitting your first issue to Homarr. Please ensure that you've provided all nessesary information. You can use the three dots > Edit button to update your post with additional images and information. Depending on the current volume of requests, the team should get in conact with you shortly.

ajnart commented 2 months ago

@whailing That is not currently supported. I am not sure how we'd go about this, you would want to display it inside of an iFrame and allow login that way ? I believe it might be a solution but to be honest I am not familiar with OIDC nor am I familiar with Authentik, some more experienced people might be able to answer this issue

Snuffy2 commented 2 months ago

No, I think when OIDC is enabled, instead of showing this "Login" page and having the user click on Sign In - Authentik just auto-redirect to whatever URL they would go to without needing to click.

2024-04-18_20-49-33 875

Then, if you are already logged into Authentik (or whatever OIDC you are using), it will confirm your account and redirect you back to the Homarr board, no user interaction needed.

SeDemal commented 1 month ago

Hi, sorry I didn't see this issue earlier. I think I asked that functionality from the one that made SSO and he did make it, although not documented it seems: AUTH_OIDC_AUTO_LOGIN="true"