-
Notifications
You must be signed in to change notification settings - Fork 24
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
auth_header sign on working on desktop but not in Home Assistant mobile app #335
Comments
I use forward proxy mode with Traefik middleware, the way I interpreted this in the wiki:
ChatGPT Explanation:
|
In Nginx and otherwise pretty vanilla configuration, this doesn't work for me without implementing this additional fix as well. Otherwise, I get an error after an otherwise successful login flow: Presumably because of the redirection issue in #333; so make sure to check that out as well. |
Is this not because vanilla nginx doesn't forward upgrade headers for websockets? I'm assuming you've tried
|
Yes, that was already part of my location block. Regardless, at least for me, the combination of your fix and the one in the other issue do the trick! |
Hi,
I have setup the auth_header sign on with Authentik and can log just fine on desktop.
On Mobile, I am getting the Authentik prompt, successfully sign in in Authentik but then am getting an Unable to connect to Home Assistant error.
Looking at the debug logs, it appears that in both the desktop and mobile case, auth_header is successfully logging in but in the case of the Mobile set up I am getting an additional error.
The two use cases have the exact same debug lines, with the Mobile having the last warning line in addition:
I have read the few topic discussing issues back in 2022 setting up auth_header to get it to work with the HomeAssistant mobile app but could not figure out a fix.
Any idea on how to get around it?
The text was updated successfully, but these errors were encountered: