We added a custom header feature to enable communication even when using authentication software to connect to the panel.
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.
@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...?