Skip to content

Custom HTTP Headers #2144

@CrazyWolf13

Description

@CrazyWolf13

Hi,

I hope this is the right kind of place to ask these questions.

Is it possible to add custom http headers to an owntracks HTTP connection?

As far as I could tell there was no such option to be found in the settings.
I can see there is the option to add username and password, but I'd love to see an option to add custom values.

This would be especially useful in the following situation:

I have reitti ( GPS Tracking/analyzer) https://github.com/dedicatedcode/reitti running in my homelab, which I don't want to expose publicly. Currently I use my Tailscale P2P VPN to access my Homelab from Remote, some specially important apps, that I need access to very often, I have exposed via Cloudflare Tunnels behind security configuration and cloudflare access (SSO Login before you can access the website.) Now when using a mobile app, authentication obviously will not work as there is the cloudflare login page in between, for this scenario there are cloudflare access tokens, they use two headers, something like here: https://community.postman.com/t/how-do-you-add-cloudflare-service-auth-credentials/58334

CF-Access-Client-Id: e97f0EXAMPLEc00.access
CF-Access-Client-Secret: f36EXAMPLE20b

It would be really awesome to have support for custom http headers in owntrack, thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions