Custom HTTP Headers
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!
The iOS app does support Custom HTTP headers:
https://owntracks.org/booklet/tech/json/#_typeconfiguration
https://github.com/owntracks/ios/issues/761
@ckrey thanks for the info, though I'm using android, is there any plan to add this to android?
Thanks!
I believe it's on the todo list.