mirror of
https://github.com/moghtech/komodo.git
synced 2026-10-28 15:30:07 -05:00
[GH-ISSUE #782] [Feature Request] Allow defining custom HTTP headers for server/periphery communication #12276
Reference in New Issue
Block a user
Originally created by @codejanovic on GitHub (Aug 28, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/782
Description
Currently, when adding a new server (komodo-periphery) to Komodo, all the communication between Komodo and the registered servers is made with a non configurable set of headers only.
In some environments (like Cloudflares Service Tokens for Zero-Trust), additional headers are required to authenticate / authorize the requests for machine-to-machine communication.
Proposed Feature
Add support for defining custom HTTP headers when registering a new server in Komodo.
Use Case / Example
In my case, I’m using Cloudflare Zero Trust Network Access (ZTNA).
Each request to the protected service must include a service token in two specific HTTP headers (CF-Access-Client-Id + CF-Access-Client-Secret). Without the ability to attach this header, komodo cannot communicate with the periphery server behind Cloudflare ZTNA and I have to fallback to an IP based whitelisting within in my ZTNA configuration.
Benefits