opencode icon indicating copy to clipboard operation
opencode copied to clipboard

copilot reauthenticate

Open TrueHOOHA opened this issue 5 days ago • 6 comments

Description

Please reauthenticate with the copilot provider to ensure your credentials work properly with OpenCode.

Plugins

ohmy opencode

OpenCode version

1.1.21

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

powershell

TrueHOOHA avatar Jan 15 '26 16:01 TrueHOOHA

This issue might be a duplicate of existing issues. Please check:

  • #8552: Github copilot failing to authorize - similar authorization/authentication issues with GitHub Copilot
  • #8638: "opencode auth login" not works - authentication flow issues with GitHub Copilot
  • #8297: Plugin installation failures are silent, causing OAuth options to disappear - could be related if OAuth auth is missing

Feel free to ignore if none of these address your specific case.

github-actions[bot] avatar Jan 15 '26 16:01 github-actions[bot]

I cannot reauth with Copilot due to package errors.

INFO 2026-01-15T17:05:00 +190ms service=default version=1.1.22 args=["auth","login"] opencode INFO 2026-01-15T17:05:00 +0ms service=default directory=C:\Users\User\Projects\uinta-intelligence-platform creating instance INFO 2026-01-15T17:05:00 +0ms service=project directory=C:\Users\User\Projects\uinta-intelligence-platform fromDirectory INFO 2026-01-15T17:05:00 +46ms service=models.dev file={} refreshing INFO 2026-01-15T17:05:00 +173ms service=config path=C:\Users\User.config\opencode\config.json loading INFO 2026-01-15T17:05:00 +1ms service=config path=C:\Users\User.config\opencode\opencode.json loading INFO 2026-01-15T17:05:00 +3ms service=config path=C:\Users\User.config\opencode\opencode.jsonc loading INFO 2026-01-15T17:05:00 +1ms service=bun cmd=["C:\Users\User\.bun\install\global\node_modules\opencode-windows-x64\bin\opencode.exe","add","@opencode-ai/[email protected]","--exact"] cwd=C:\Users\User.config\opencode running INFO 2026-01-15T17:05:00 +90ms service=config path=C:\Users\User\Projects\uinta-intelligence-platform.opencode\opencode.jsonc loading INFO 2026-01-15T17:05:00 +0ms service=config path=C:\Users\User\Projects\uinta-intelligence-platform.opencode\opencode.json loading INFO 2026-01-15T17:05:00 +0ms service=bun cmd=["C:\Users\User\.bun\install\global\node_modules\opencode-windows-x64\bin\opencode.exe","add","@opencode-ai/[email protected]","--exact"] cwd=C:\Users\User\Projects\uinta-intelligence-platform.opencode running INFO 2026-01-15T17:05:00 +98ms service=models.dev file={} refreshing INFO 2026-01-15T17:05:00 +221ms service=bun code=1 stdout=bun add v1.3.6 (d530ed99) stderr=Resolving dependencies Resolved, downloaded and extracted [2] error: No version matching "1.1.22" found for specifier "@opencode-ai/plugin" (but package exists) error: @opencode-ai/[email protected] failed to resolve done INFO 2026-01-15T17:05:00 +0ms service=bun cmd=["C:\Users\User\.bun\install\global\node_modules\opencode-windows-x64\bin\opencode.exe","install"] cwd=C:\Users\User.config\opencode running INFO 2026-01-15T17:05:00 +169ms service=bun code=1 stdout=bun add v1.3.6 (d530ed99) stderr=Resolving dependencies Resolved, downloaded and extracted [2] error: No version matching "1.1.22" found for specifier "@opencode-ai/plugin" (but package exists) error: @opencode-ai/[email protected] failed to resolve done INFO 2026-01-15T17:05:00 +0ms service=bun cmd=["C:\Users\User\.bun\install\global\node_modules\opencode-windows-x64\bin\opencode.exe","install"] cwd=C:\Users\User\Projects\uinta-intelligence-platform.opencode running INFO 2026-01-15T17:05:00 +101ms service=bun code=0 stdout=bun install v1.3.6 (d530ed99)

Checked 3 installs across 4 packages (no changes) [5.00ms] stderr= done INFO 2026-01-15T17:05:00 +17ms service=bun code=0 stdout=bun install v1.3.6 (d530ed99)

Checked 3 installs across 4 packages (no changes) [5.00ms] stderr= done INFO 2026-01-15T17:05:08 +7299ms service=plugin name=CodexAuthPlugin loading internal plugin INFO 2026-01-15T17:05:08 +0ms service=plugin name=CopilotAuthPlugin loading internal plugin INFO 2026-01-15T17:05:08 +0ms service=plugin [email protected] loading plugin INFO 2026-01-15T17:05:08 +19ms service=plugin path=@gitlab/[email protected] loading plugin ERROR 2026-01-15T17:05:11 +3363ms service=default name=Error message=Failed to initiate device authorization stack=Error: Failed to initiate device authorization at authorize (src/plugin/copilot.ts:172:25) at processTicksAndRejections (native:7:39) fatal

jbeckton avatar Jan 15 '26 17:01 jbeckton

Please reauthenticate with the copilot provider to ensure your credentials work properly with OpenCode.

Yes I think the instructions here are pretty clear? @TrueHOOHA

@jbeckton for you I think this is prolly due to github being down rn tbh

rekram1-node avatar Jan 15 '26 17:01 rekram1-node

Please reauthenticate with the copilot provider to ensure your credentials work properly with OpenCode.

Yes I think the instructions here are pretty clear? @TrueHOOHA

@jbeckton for you I think this is prolly due to github being down rn tbh

oh?, does github have a status page I can monitor?

jbeckton avatar Jan 15 '26 17:01 jbeckton

found it

https://www.githubstatus.com/

jbeckton avatar Jan 15 '26 17:01 jbeckton

Please reauthenticate with the copilot provider to ensure your credentials work properly with OpenCode.

Yes I think the instructions here are pretty clear? @TrueHOOHA

@jbeckton for you I think this is prolly due to github being down rn tbh

How to reauthorize GitHub sir. Right now I can't logout GitHub

TrueHOOHA avatar Jan 15 '26 23:01 TrueHOOHA