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
Authorize via reverse proxy not working #17434
Comments
The issue is not about google assistant component, but for the HA in general. Do we want to support |
I was confused trying to set it up today. I have a variety of things on different paths like Octoprint, Jupyter Notebook, with authentication managed through the nginx. |
i use an nginx reverse proxy and do not currently have any issues on 83+ |
@marchingphoenix maybe you want to show us your nginx config? |
Just tested on 0.89, for the issue is still present. @marchingphoenix can you post your nginx config perhaps? |
It seems that nobody (from the home assistant team) cares about this, but why?! |
Reverse proxy works, we have tons of guide in the community to show you the way. The issue here is about host HA in a virtual path, and it is complex. The most recent discussion at here: home-assistant/architecture#156 |
Got it workin tonight via https://community.home-assistant.io/t/nginx-reverse-proxy-set-up-guide-docker/54802 Its not using the path but a subdomain, for me this workaround suits my needs for now. |
Going to close this as we don't intend to support this now, and no one is going to work on this in the foreseeable future. |
Home Assistant release with the issue:
Home Assistant 0.80.0 (via Hass.io)
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Component/platform:
https://www.home-assistant.io/components/google_assistant/
Description of problem:
I’m running Hass.IO behind a reverse nginx proxy.
In configuration.yaml I have the entry
I can connect to the API endpoint at: https://my.external.url/hassioproxy/api/
When I browse to the authentication url: https://my.external.url/hassioproxy/auth/authorize
it redirects to: https://my.external.url/frontend_es5/authorize.html
So it seems the redirect doesn't take the reverse proxy into account.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
Already confirmed by awarecan it's an issue, see
https://community.home-assistant.io/t/v0-80-new-google-assistant-auth-behind-proxy-redirect-issue/72994
The text was updated successfully, but these errors were encountered: