eca
eca copied to clipboard
cannot login to github-copilot enterprise
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
- init /logout to clear old auth (just in case it would work)
- /login
- select github-copilot
- Now the eca tells me to go to https://github.com/login/device with my auth code
- 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 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