cpanato / mattermost-plugin-alertmanager

AlertManager Bot for Mattermost
Apache License 2.0
81 stars 19 forks source link

commands fails if alertmanager is behind basic auth #7

Open rgarrigue opened 4 years ago

rgarrigue commented 4 years ago

Hello

I've setup a basic auth before my alertmanager, so it's not naked on the internet. Which makes the bot fail when it's trying to fetch stuff for its commands

image

The URL is working when I'm opening it, once I authentify ofc.

Maybe you should allow adding headers in the bot settings, if such a customization is possible ?

cpanato commented 4 years ago

@rgarrigue thanks for this issue, are you willing to open a PR to implement this?

rgarrigue commented 4 years ago

Sorry, I'm very tight on schedule, won't be able to.

cpanato commented 3 years ago

will add for the next release