wings icon indicating copy to clipboard operation
wings copied to clipboard

We added a custom header feature to enable communication even when using authentication software to connect to the panel.

Open shiro8613 opened this issue 1 year ago • 1 comments

This pull request introduces a custom_headers configuration option within the remote_query section to enable communication with panels that require custom headers, such as those using external authentication services like Cloudflare Access. This feature allows users to specify custom headers in the following format:

remote_query:
    custom_headers:
         HEADER_KEY: HEADER_VALUE
         ...

By adding this functionality, users can append custom headers to requests sent to panels, resolving issues where communication is hindered due to the absence of required headers. We kindly request your approval for this pull request. Thank you for your consideration.

shiro8613 avatar Jan 12 '25 14:01 shiro8613

@matthewpi Hi, I'm facing the same issue, and after applying his addition, it seems to work fine. I also believe this change is beneficial not just for Cloudflare Access, but for other authentication methods or applications as well. Would it be possible to have this merged...?

tier940 avatar Jun 21 '25 00:06 tier940