Skip to content

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

@kumakura-023

Description

@kumakura-023

Description

Image

I can complete the GitHub authentication flow for the Copilot provider without any errors.
However, when I try to use any Copilot model in OpenCode, I receive the following message:
Please reauthenticate with the copilot provider to ensure your credentials work properly with OpenCode.
Other providers such as Google and OpenAI work normally, so the issue seems isolated to Copilot.

OpenCode version: 1.1.25
Installation method: Homebrew
CLI path: /opt/homebrew/bin/opencode

Plugins

No response

OpenCode version

1.1.25

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macOS

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions