Skip to content

copilot reauthenticate #8708

Closed
Closed

Description

@TrueHOOHA

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

Activity

  1. github-actions commented on Jan 15, 2026

    @github-actions
    Contributor

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

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

  2. jbeckton commented on Jan 15, 2026

    @jbeckton

    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

  3. rekram1-node commented on Jan 15, 2026

    @rekram1-node
    Collaborator

    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

  4. jbeckton commented on Jan 15, 2026

    @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

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

  5. jbeckton commented on Jan 15, 2026

    @jbeckton
  6. TrueHOOHA commented on Jan 15, 2026

    @TrueHOOHA
    Author

    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

  7. SeanCassiere commented on Jan 18, 2026

    @SeanCassiere

    I'm seeing this in pretty much all my sessions. It's can be fine if I'm just using the TUI or just the desktop app.

    The problems arise when I try to switch between them. Sometimes logging-in on one, logs you out of the other, with it sometimes just both being logged out.

    This is definitely something new that's cropped up, since this has only started up in the last week. Somewhere along the time where the updates came out after the whole Anthropic debacle.

  8. TrueHOOHA commented on Jan 18, 2026

    @TrueHOOHA
    Author

    yeah i guess its my network issue. fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions