mattermost / mattermost/mattermost-plugin-github

Already set plugin configuration are not working properly.

Open
#896 0 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

**Summary**
When the user registers a new OAuth Application in GitHub, then upon creating a webhook for a private repo, the user gets an error message,

![Image](https://github.com/user-attachments/assets/8aec42f6-fff5-4bbd-9905-6a44af340acb)

even though the private repositories are enabled in the plugin configuration.

![Image](https://github.com/user-attachments/assets/d7302ee4-1a08-492f-9729-744c41c5bd23)

This issue is fixed once the user re-enables the settings and then disconnect-connect their account.

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 with the OAuth account connection and private-repository webhook creation flows described in the report, then trace how plugin settings are loaded before the GitHub request. Reproduce the error with private repositories enabled, compare it with the re-enable and reconnect workaround, and verify that the saved configuration is honored without those steps.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, go
Domain
authentication, backend
Issue type
Bug
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.