Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to send authorization header to webhook #5871

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

cedric-lamalle
Copy link

This PR adds a new option WATCHDOG_NOTIFY_WEBHOOK_AUTH_HEADER to send an header for authorization when calling watchdog webhook.
This is useful as some webhooks don't accept Basic Authentication that can be put in the URL. I didn't force the header's name as some applications requires fancy header names as X-API-KEY for instance. Can be used too to "hide" Basic Authentication in the headers.
I have tested it with a custom image in our production environment and it's working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants