eca icon indicating copy to clipboard operation
eca copied to clipboard

cannot login to github-copilot enterprise

Open dksmi opened this issue 3 months ago • 1 comments

My company switched to github enterprise. I can use copilot-cli but not anymore eca because device login does not work.

To Reproduce first changed the "url: parameter for github copilot in config.json to first as documented in eca docs for enterprise and tried without success then to the one that copilot-cli (likely) uses: https://mycompany.ghe.com

The actual test process

  1. init /logout to clear old auth (just in case it would work)
  2. /login
  3. select github-copilot
  4. Now the eca tells me to go to https://github.com/login/device with my auth code
  5. i do that and login succeeds but it goes to wrong account. It logs in to companys old non-enterprice account where i dont have any services activated anymore. 6 Repeated steps 1-5 and tried to login to https://mycompany.ghe.com/login/device but the auth code shown in eca does not exist there. Note that copilot-cli asked me to do the device login to https://mycompany.ghe.com/login/device and it worked. So.. could it be that eca should work somehow differently in case of enterprise account?

** env ** win11 and WSL environment eca 0.152.0 and emacs-29.4

dksmi avatar Aug 05 '26 20:08 dksmi

@dksmi you should change the auth url not the base LLM url:

"github-copilot": { "auth": { "url": "https://mycompany.ghe.com" } }

I will improve the docs tho

ericdallo avatar Aug 06 '26 21:08 ericdallo