Skip to content

Commit aac5184

Browse files
committed
Document github-copilot enterprise login via auth.url (#569)
1 parent 9b2a0c1 commit aac5184

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

docs/config/models.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,24 @@ ECA support lots of providers via its supported APIs (openai-chat, openai-respon
153153

154154
see - https://github.blog/changelog/2026-02-13-network-configuration-changes-for-copilot-coding-agent/#whats-changing
155155

156+
**GitHub Enterprise login**
157+
158+
The `url` setting above only changes the Copilot API endpoint, not the login. If your account lives on a GitHub Enterprise instance (e.g. `https://mycompany.ghe.com`), set `auth.url` so the `/login` device flow uses your enterprise host instead of `github.com`:
159+
160+
```javascript title="~/.config/eca/config.json"
161+
{
162+
"providers": {
163+
"github-copilot": {
164+
"auth": {
165+
"url": "https://mycompany.ghe.com"
166+
}
167+
}
168+
}
169+
}
170+
```
171+
172+
If your instance uses a custom OAuth application, also set `auth.clientId`.
173+
156174
_Tip: check [Your Copilot plan](https://github.com/settings/copilot/features) to enable models to your account._
157175

158176
=== "Google / Gemini"

0 commit comments

Comments
 (0)