feature: slack receiver should use webhook instead of token#38
feature: slack receiver should use webhook instead of token#38taketo957 wants to merge 1 commit into
Conversation
|
The channel was customizable, so we could redirect messages to users based on namespaces etc. Is this not possible anymore with the deprecation? |
If we use webhook instead of token, the channel is configured when creating webhook (ref: https://api.slack.com/messaging/webhooks) I investigated what #30 (comment) is talking about. Should we support both token and webhook? |
|
@taketo957 sorry for taking time to review this. The initial use case we hat at Opsgenie that each dev has their own namespace and we could direct the messages to them easily, but with the webhooks we would need to create a webhook per channel, right? Can we use the "Bot User Tokens" or Workspace tokens https://api.slack.com/authentication/token-types in that page? Or is that making things too complicated? Back then we could just generate a bot token easily, did that change also? |
#30
As slack is depreciating slack tokens, I modifiied slack receiver to use webhook instead of token.
Here is my config for test.
Below is the output.