mattermost / mattermost/mattermost-plugin-github

Custom Mattermost ServerURL for webhooks

Open
#871 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
179
Forks
180
Avg merge
1d 16h
Merged PRs (30d)
13

Description

Since our Mattermost server is not publicly accessible and is behind a VPN, I have set up an Nginx proxy on a separate subdomain and port to forward incoming GitHub traffic to the internal Mattermost server's webhooks.

I have successfully configured everything, including OAuth in Mattermost. However, when I create a subscription using the /github subscriptions add slash command, the webhook is generated in our GitHub organization with the internal Mattermost Site URL instead of my custom URL. Is there a way to configure the plugin to use a custom incoming webhook URL instead of the internal one.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the /github subscriptions add slash command and trace how the GitHub webhook URL is generated from the Mattermost site configuration. Identify where a custom incoming webhook URL could be configured, and consider the work complete when new subscriptions use that external URL instead of the internal Mattermost URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.