Skip to content

Commit 9c73046

Browse files
committed
adding necessary config for oauth proxima
1 parent f457dc4 commit 9c73046

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ When no toolsets are specified, [default toolsets](#default-toolset) are used.
101101

102102
GitHub Enterprise Cloud can also make use of the remote server.
103103

104-
Example for `https://octocorp.ghe.com`:
104+
Example for `https://octocorp.ghe.com` with GitHub PAT token:
105105
```
106106
{
107107
...
@@ -116,6 +116,14 @@ Example for `https://octocorp.ghe.com`:
116116
}
117117
```
118118

119+
> **Note:** When using OAuth with GitHub Enterprise with VS Code and GitHub Copilot, you also need to configure your VS Code settings to point to your GitHub Enterprise instance. Add the following to your [VS Code User settings](https://code.visualstudio.com/docs/configure/settings#_user-settings):
120+
>
121+
> ```json
122+
> {
123+
> "github-enterprise.uri": "https://copilot-api.octocorp.ghe.com/mcp"
124+
> }
125+
> ```
126+
119127
##### GitHub Enterprise Server
120128
121129
GitHub Enterprise Server does not support remote server hosting. Please refer to [GitHub Enterprise Server and Enterprise Cloud with data residency (ghe.com)](#github-enterprise-server-and-enterprise-cloud-with-data-residency-ghecom) from the local server configuration.
@@ -209,14 +217,6 @@ the hostname for GitHub Enterprise Server or GitHub Enterprise Cloud with data r
209217
}
210218
```
211219

212-
> **Note:** When using OAuth with GitHub Enterprise with VS Code and GitHub Copilot, you may also need to configure your VS Code settings to point to your GitHub Enterprise instance. Add the following to your [VS Code User settings](https://code.visualstudio.com/docs/configure/settings#_user-settings):
213-
>
214-
> ```json
215-
> {
216-
> "github-enterprise.uri": "https://<your GHES or ghe.com domain name>"
217-
> }
218-
> ```
219-
220220
## Installation
221221

222222
### Install in GitHub Copilot on VS Code

0 commit comments

Comments
 (0)