Auth proxy support for new authentication system


I’m running Home Assistant and a bunch of other systems behind Apache OAuth proxy to provide single sign-on to all those systems. This means that I cannot easily switch to new HA authentication system (although it seems great for simpler cases).

There is a blog entry describing similar setup with nginx, which suggest setting X-HA-Access header to authenticate. But this is based on legacy api password.

As it seems that different users will have different rights in Home Assistant, it would be great if this kind of Apache/nginx authentication frontend could pass the username to Home Assistant. I’m looking something like Grafana has (they call it Auth Proxy):

It simply allows a trusted authentication front end to pass user information to system with extra http header.

Ari S.