You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After completing the GitHub Copilot device-code login successfully(the student package), opencode still
prompts to reauthenticate on every new session, even though opencode auth list shows
a credential is stored.
Two things stand out that may or may not be related to the reauth prompts:
expires is 0 right after a successful login
access and refresh have identical values
Not sure if this is expected behavior for how Copilot's device flow issues tokens, or a
storage bug — flagging in case it's useful for reproducing the reauth issue.
If your issue is not resolved by the fix in #35145 or you're experiencing it on a different version, please mention that so maintainers can track it separately.
Activity
github-actions commentedon Aug 2, 2026
This issue might be a duplicate of an existing issue. Please check:
expires: 0— describes the exact same symptoms (identical access/refresh tokens,expires: 0after device code flow)If your issue is not resolved by the fix in #35145 or you're experiencing it on a different version, please mention that so maintainers can track it separately.
BekaAbate commentedon Aug 2, 2026
the issue was not resolved with this: #35145, it was rejected because it doesnt meet the contribution guidlines.
rekram1-node commentedon Aug 7, 2026
i cannot reproduce, plz provide more info? Seems specific to your setup this isnt being widely reported.