Public Home Assistant add-on repository for Nitor-maintained add-ons.
- Open Settings -> Add-ons -> Add-on Store.
- Open the three-dot menu and choose Repositories.
- Add:
https://github.com/NitorCreations/ha-nitor-backend
nitor_auth_proxy- Java authentication proxy with Entra auth, group gating, and header forwarding for Home Assistant.
- Runtime secrets only (add-on options), no secrets in git.
- Cookie secret persisted in add-on
/dataand generated on first start. - TLS cert and key read from Home Assistant
/sslusingcertfileandkeyfileoptions.
After installing and starting nitor_auth_proxy, configure Home Assistant to trust only this proxy path.
- Enable reverse proxy support in
configuration.yaml:
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.30.33.0/24Adjust trusted_proxies to the actual source network/address that reaches Home Assistant from the add-on. Keep this narrow.
-
Configure header-based auth provider in Home Assistant to use
x-ha-useras username.- Install your header-auth integration (for example
hass-auth-header) and set:- username header:
x-ha-user
- username header:
- Keep Home Assistant admin users explicit and controlled.
- Install your header-auth integration (for example
-
Keep network bypass closed.
- Block direct external access to Home Assistant
8123at Proxmox/firewall level. - Allow users in through the proxy endpoint only.
- Block direct external access to Home Assistant
-
Ensure proxy policy matches your access model.
- Group gate with
allowed_groups_regex. - Confirm forwarded headers include:
x-ha-userx-ha-groups- optional
x-ha-id
- Group gate with
- User can log in through proxy and is mapped to a unique HA user.
- Unauthorized groups are denied before reaching Home Assistant.
- Direct
8123access from normal clients is blocked.
Docker image publishing is release-driven.
- Bump add-on version in
nitor_auth_proxy/config.yaml(for example0.2.0). - Commit and push to
main. - Create a GitHub release with tag
vX.Y.Zthat matches add-on version exactly. - Workflow
Build and Publish Add-on Imagepublishes:docker.io/nitor/ha-nitor-backend:X.Y.Zdocker.io/nitor/ha-nitor-backend:latest(non-prerelease releases)
If release tag and add-on version do not match, publishing fails by design.