enode icon indicating copy to clipboard operation
enode copied to clipboard

[Request] UI configuration option for adding Authentication Header for Webhook

Open Mirabis opened this issue 1 year ago • 4 comments

Hi,

First of all many thanks for creating this. I was wondering whether you could implement setting up an authentication header for the webhook requests as described by their docs. IPs change and require a lot of maintenance, but the header can more easily be checked. Especially for those exposing homeassistant to the cloud through Cloudflare Zero Trust or equivalent service which supports Service Auth / tokens / header checks.

https://developers.enode.com/docs/webhooks#ip-addresses

Authentication is optional. If your endpoint requires authentication, you can configure an authentication header and value pair that will be sent on every request.

You can provide authentication configuration when using the Create WebhookAPI endpoint. For existing subscriptions you can enable, update or disable authentication using the Update WebhookAPI endpoint. The header is case insensitive and will be transmitted lowercased.

Even if you have authentication configured, we strongly recommend you to verify the integrity of the request using the provided payload signature.

Mirabis avatar Sep 09 '25 10:09 Mirabis

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Oct 09 '25 20:10 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Oct 14 '25 20:10 github-actions[bot]

Still a valid request - please reopen?

Mirabis avatar Nov 04 '25 08:11 Mirabis

I appreciate that you find my integration useful and the time you have taken to outline a supposedly useful feature. If you believe this feature to be useful I do welcome contributions or you are free to fork and modify my code to suit your needs.

evilmarty avatar Nov 16 '25 21:11 evilmarty