homarr icon indicating copy to clipboard operation
homarr copied to clipboard

Homarr + authentik

Open Wail1ng opened this issue 10 months ago • 3 comments

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

Wail1ng avatar Mar 30 '24 19:03 Wail1ng

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.

github-actions[bot] avatar Mar 30 '24 19:03 github-actions[bot]

@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

ajnart avatar Apr 18 '24 08:04 ajnart

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.

Snuffy2 avatar Apr 19 '24 00:04 Snuffy2

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"

SeDemal avatar May 17 '24 14:05 SeDemal