To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Describe the bug
Github copilot token does not renew, after it expires I need to /login again.
To Reproduce
Steps to reproduce the behavior (linux):
- open eca in emacs
- enter /login + github-copilot
- authenticate with browser and confirm new token with new expires-at is present under
~/.cache/eca/db.transit.json
- After
expires-at eca chat window returns "invalid token 401" and I need to authenticate again
Expected behavior
Doctor
> /doctor
ECA version: 0.56.2
Server cmd: /home/user/.emacs.d/eca/eca server
Default model: github-copilot/gpt-5
Login providers:
anthropic: {}
azure: {}
deepseek: {}
github-copilot: {:step :login/done, :device-code "ec7*****009", :access-token
"ghu*****jhK", :api-key "tid*****4c5", :expires-at 1758357397}
openai: {}
openrouter: {}
z-ai: {}
Relevant env vars:
DEBUGINFOD_URLS=https://debuginfod.ubuntu.com
Additional context
I'm honestly not sure if this is a bug or missing feature. I reported this as a bug because I found this commit: 1ad87dc commit message says: Fix token expiration for copilot and anthropic., but no copilot files were modified.
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Describe the bug
Github copilot token does not renew, after it expires I need to /login again.
To Reproduce
Steps to reproduce the behavior (linux):
~/.cache/eca/db.transit.jsonexpires-ateca chat window returns "invalid token 401" and I need to authenticate againExpected behavior
refresh_in, value returned from https://api.github.com/copilot_internal/v2/token when eca daemon is running.expires_atDoctor
Additional context
I'm honestly not sure if this is a bug or missing feature. I reported this as a bug because I found this commit: 1ad87dc commit message says:
Fix token expiration for copilot and anthropic., but no copilot files were modified.