Skip to content

Commit b30d891

Browse files
committed
Add note about client secret
1 parent 5bc6d36 commit b30d891

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/admin/code_hosts/github.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ To add an existing GitHub App:
143143
4. Click **Add GitHub App** to save the configuration.
144144
5. Once added, you can manage installations and create code host connections just like with apps created through Sourcegraph.
145145

146+
> NOTE: You'll still need to create a client secret on GitHub and [set up an auth provider](/admin/auth#github) if you would like to enable repository permissions.
147+
146148
When creating code host connections for your existing GitHub App, you can choose to sync repositories from a specific installation or from all installations by omitting the `installationID` field (see [Syncing repositories from all installations](#syncing-repositories-from-all-installations)).
147149

148150
> NOTE: For GitHub Enterprise Apps, this method allows you to use a single app across multiple organizations within your enterprise, avoiding the need to create separate public apps or multiple private apps for each organization.

0 commit comments

Comments
 (0)