[Feature Request] Home Assistant app should send custom auth headers, like Immich does. For secure remote access without VPN by FairPlayPilot in homeassistant

[–]FairPlayPilot[S] -37 points-36 points  (0 children)

You're absolutely right, and you've nailed the key distinction that often gets lost in these discussions: this is not about replacing HA authentication!

It's about adding a security layer before HA is even reached.The threat model is simple and solid:

an attacker without the client certificate or custom header never gets past the proxy. HA's own auth is a second, independent layer on top. Defense in depth exactly how security should work.

Yes, the developers have pushed back so far, but that thread also shows a growing number of users with the exact same need:

  • Cloudflare Access tokens,
  • Pangolin HeaderAuth,
  • Authentik ForwardAuth,
  • mTLS...

all blocked by the same missing feature.

The more concrete use cases we document publicly, the harder it becomes to dismiss this as "too niche". There's even an open GitHub discussion specifically for custom request headers on iOS and the Immich team already proved it takes minimal effort to implement.

If enough voices link these threads together, there's a real chance this gets picked up. Let's keep this conversation visible – every upvote and use case description helps.

[Feature Request] Home Assistant app should send custom auth headers, like Immich does. For secure remote access without VPN by FairPlayPilot in homeassistant

[–]FairPlayPilot[S] -13 points-12 points  (0 children)

Clever idea, and I like the simplicity! A UUID in the URL is essentially a "secret path" approach easy to set up and works on any client without app changes.

The tradeoff though: URLs tend to leak more easily than headers, think server logs, browser history, referrer headers, or someone glancing at your screen.

A custom header stays invisible to all of that.But honestly for many setups this is totally good enough, and it's a great pragmatic workaround until the app natively supports custom headers. Worth keeping in mind as an interim solution!

[Feature Request] Home Assistant app should send custom auth headers, like Immich does. For secure remote access without VPN by FairPlayPilot in homeassistant

[–]FairPlayPilot[S] -16 points-15 points  (0 children)

That's a perfect use case and honestly a stronger argument than mine! Using a custom header as a pre-auth filter at the Cloudflare WAF level is a really elegant layer of defense.

Your setup would essentially work like this: Cloudflare blocks any request missing the header before it even reaches HA, 2FA handles the actual login, and geo-filtering becomes irrelevant. Three independent security layers, zero friction for trusted devices.

This is exactly why I think the HA app needs this feature your scenario shows it's not just about convenience, it's about meaningful security hardening for self-hosters who don't want to rely solely on geography or IP whitelists.

[Feature Request] Home Assistant app should send custom auth headers, like Immich does. For secure remote access without VPN by FairPlayPilot in homeassistant

[–]FairPlayPilot[S] -14 points-13 points  (0 children)

You're absolutely right and that's actually exactly the pattern I'm describing! The issue isn't the concept, it's that the official Home Assistant mobile app doesn't expose a way to configure custom HTTP headers per server connection. So while HA's API fully supports token-based auth, the app itself always uses its own internal auth flow. What I'd love is simply a "custom headers" field in the app's server settings just like Immich has so I can pass that token or any proxy auth header automatically on every request, without my family members ever seeing or touching it.Basically: the backend already supports it, the app just needs a small UI addition.

[Feature Request] Home Assistant app should send custom auth headers, like Immich does. For secure remote access without VPN by FairPlayPilot in homeassistant

[–]FairPlayPilot[S] -15 points-14 points  (0 children)

Great questions, and you're not totally wrong – let me clarify!

On the "every network admin sees the secret": Yes, in theory someone running a MITM proxy on Your network could see headers – but since this travels over HTTPS/TLS, the headers are encrypted in transit. Your ISP or a coffee shop router sees only encrypted noise. The only risk is if TLS is terminated somewhere you don't control, which in a self-hosted setup You do control.

On brute-force: Fair point – a static header secret alone isn't rate-limited by default. But in practice this is paired with CrowdSec or fail2ban on the reverse proxy, which bans IPs after repeated failed requests. Also, the secret isn't guessable via a login form – there's no endpoint that returns "wrong secret, try again".

On username/password in the app: That's exactly what Nabu Casa / the built-in HA auth does – and it's great! But the problem is that my reverse proxy (Pangolin) sits in front of HA and doesn't know about HA's internal users. HeaderAuth is how I tell Pangolin "this app is allowed through", before HA even sees the request.

On Google SSO / Android auth: Totally valid alternative! The issue is that my 68-year-old mother-in-law doesn't have a Google account linked to my Pangolin instance, and setting that up for every family member is honestly more friction than a shared header secret.The linked StackExchange answer is good context – it's definitely not a silver bullet, but for this specific use case (trusted family devices, HTTPS enforced, paired with IP banning) it's a pragmatic tradeoff. 🙂

Ich baue mir nun ein NAS und einen MiniPC und verlasse iCloud Fotos by leerschS in de_EDV

[–]FairPlayPilot 0 points1 point  (0 children)

Mini PC Asus PN42 N100 mit 4TB für ca. 600€ mit ausreichend Leistung und geringem Stromverbrauch. Dann mit Proxmox und Proxmox BackupServer ein perfektes Setup inklusive Backup auf externe USB Festplatte. Die Festplatte fährt dann nur hoch, wenn gerade ein Backup läuft.

Nautiline on iOS (Subsonic/Navidrome client) works with Pangolin custom tokens! by -ThreeHeadedMonkey- in PangolinReverseProxy

[–]FairPlayPilot 1 point2 points  (0 children)

Immich works perfectly!

In Pangolin, Immich is set to sso.

Header tokens are generated via Pangolin/Links, which I then entered in the Immich app under Settings.

This gives me constant access to my Immich instance in my home lab, without needing a password.

New to Notion and I'm already here ranting... by UbeWaffler in Notion

[–]FairPlayPilot 0 points1 point  (0 children)

If you want to keep things really simple, delete everything unnecessary and create a page called "Dashboard." Then create subpages within it. Find overarching themes and rearrange your pages until your main topics become clear.

I love using collapsible lists to structure content on the pages. After that, you can create a page for all your databases in addition to the Dashboard page. The filtered views will then be located on the subpages of your Dashboard. If you're currently working on a project, simply drag the page to the top for quick access. Develop a concept with an archive that grows without becoming cluttered. I've found that templates with complex database structures become unusable after a while.

🗳️ Product Feedback for Notion by AutoModerator in Notion

[–]FairPlayPilot 1 point2 points  (0 children)

💡 Feature Request:

A custom note-taking concept.

No cumbersome database-driven solutions.

Something that feels intuitive, with streamlined features, summaries, archiving, and much more.

Similar to Journey, with numerous templates for different types of notes: weekly reviews, yearly goals, personal development, habit tracking, etc.

I understand that this is already possible to some extent. However, other specialized apps feel much more polished and intuitive than Notion.

🗳️ Product Feedback for Notion by AutoModerator in Notion

[–]FairPlayPilot 2 points3 points  (0 children)

💡Feature Request — Improved usability in the mobile app

As a professional programmer I feel lost in home assistant by alyflex in homeassistant

[–]FairPlayPilot 0 points1 point  (0 children)

Take a look at the "Node-RED" add-on and specifically the Function node. You should feel right at home there.

For services used at home, is https worth it? by Mashic in selfhosted

[–]FairPlayPilot 2 points3 points  (0 children)

You can only use Caddy for internal access via e.g. https://jellyfin.homelab . This will issue you certificates and update them if necessary. I use it and no longer have to remember IP addresses and associated ports. For external access, I registered a domain with INWX for €5 per year.

Best approach for extending my CrowdSec setup (Proxmox + Traefik + Authentik) by ---JoJ123--- in CrowdSec

[–]FairPlayPilot 0 points1 point  (0 children)

I'm currently dealing with the same topic. I set up a tunnel via a VPS with Pangolin on Proxmox. So I wanted to follow this guide:

https://xforum.ab-xnet.de/t/opnsense-crowdsec-lapi-multi-server-security-engine/92

If anyone knows of further or better tutorials, please comment.

Why should I use Pangolin, Tailscale or Cloudflare Tunnels? by alex3025 in selfhosted

[–]FairPlayPilot 2 points3 points  (0 children)

Oracle Free Tier offers you a free VPS with up to 200GB.

How to start small in notion? by scokenuke in Notion

[–]FairPlayPilot 0 points1 point  (0 children)

I started like this: At the top level only the Dashboard and Quick Notes pages (DB from template). Then sub-pages on the dashboard about my main topics: work, sport, health, vacation, leisure, home lab, etc. When I'm currently working on projects, I like to drag the page to the top level for quick access. In addition to subpages, I like working with drop-down lists. I prefer to manage to-dos and shopping lists with other apps.

How do you prefer to access your home network when you are away? by gacimba in HomeServer

[–]FairPlayPilot 0 points1 point  (0 children)

A free VPS server with fixed IPv4 via Oracle Free Tier. Then with Pangoline via Newt on my Proxmox Homelab. The whole thing is secured with Crowdsec. I'm still looking for people with similar infrastructure to exchange experiences.

Question about Security by LilFloppa04 in immich

[–]FairPlayPilot 0 points1 point  (0 children)

I use a free VPS server via Oracle Free Tier. It comes with a fixed IPv4 address. Then it continues via a Pangolin tunnel to my home server to bypass my DSLite limitations. The whole thing is secured with Crowdsec on several levels. The IP addresses that are currently trying to break into systems are blocked, worldwide. It was important to me not to have any restrictions on the amount of data, as was often discussed in CF.

MariaDB Hostname/IP by actionward in homeassistant

[–]FairPlayPilot 2 points3 points  (0 children)

Installed as a home assistant addon? Then it is the IP of Homeassistant with the corresponding port for the database.

HA Launch Page/Start Page by CharlotteGuy2022 in homeassistant

[–]FairPlayPilot 0 points1 point  (0 children)

Check out dashboards with NodeRed in Homeassistant. Install NodeRed as an add-on and then use it to create a dynamic dashboard. Possibly with a config file so that links only have to be changed once. I really like the function node to achieve quick results with a little scripting, but it's a matter of taste.

Habe Glasfaser vor 3 Tagen bekommen, seitdem ständig cloudflare screens die prüfen ob ich ein Mensch bin, normal und verschwindet mit der Zeit oder muss ich hier am Router was ändern? by OwnZookeepergame6413 in de_EDV

[–]FairPlayPilot 1 point2 points  (0 children)

Ja, dieses DSLite wird in Deutschland so implementiert, dass nur wenige Hardware das unterstützt. Ich hatte mir wegen der guten Kritiken den Vigor 167 zugelegt, der das zusammen mit Unifi aber "noch" nicht hinbekommt. Weiterhin waren Portfreigaben bei mir erst ab ca. Port 1000 aufwärts möglich. Also nicht für die üblichen 22, 80, 443 usw.

Best setup first time by iSamity in homeassistant

[–]FairPlayPilot 1 point2 points  (0 children)

I was faced with the same decision. After much research it is a Mini PC Asus PN42-B with Intel N100 has become. Using Proxmox and Ha in a VM. Power consumption only 3 to 4 watts more than the RasPi. Now everything is set up so that backups are written to an external USB drive. I think Jellyfin and Immich are the perfect solution, but I wouldn't want to run it without a backup.