Skip to content

Commit 1b6c6fb

Browse files
authored
Update github.mdx (#1022)
<!-- Explain the changes introduced in your PR --> Update to the Github App doc ## Pull Request approval You will need to get your PR approved by at least one member of the Sourcegraph team. For reviews of docs formatting, styles, and component usage, please tag the docs team via the #docs Slack channel.
1 parent e5ad862 commit 1b6c6fb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/admin/code_hosts/github.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ Once public, App can be installed in additional namespaces either from Sourcegra
109109

110110
5. To sync repositories from this installation, click **Add connection** under your new installation.
111111

112+
### Configuring Multiple Private GitHub Apps for Sourcegraph
113+
If you prefer not to make your GitHub App public and instead create separate private GitHub Apps for each organizations, users will need to authorize each GitHub App individually to ensure proper repository access and permissions syncing. This is because GitHub Apps have narrowly scoped permissions and do not share authentication across multiple installations. To streamline this process, users can go to `User Settings` > `Account Security` in Sourcegraph and connect all necessary GitHub Apps from there. Once authorized, Sourcegraph will use the user's GitHub identity to determine access across all configured GitHub Apps.
114+
115+
For customers using GitHub Enterprise Cloud, an alternative approach is to create an Enterprise GitHub App, which can be installed across multiple organizations within an enterprise account while maintaining private visibility. More details on this approach can be found in [GitHub's documentation](https://docs.github.com/en/enterprise-cloud@latest/admin/managing-your-enterprise-account/creating-github-apps-for-your-enterprise).
116+
112117
### Uninstalling an App
113118

114119
You can uninstall a GitHub App from a namespace or remove it altogether at any time.

0 commit comments

Comments
 (0)