Skip to content

Issue: GitHub Copilot Connection Fails and Loops Back to Model/Provider Selection #37952

Closed as duplicate

Description

@TimLMueller

Description

Hello,
I am not sure if this is a duplicate of #36819
Also my Enviroment is Home Assistant OS via https://github.com/magnusoverli/opencode but I was referred here by them.

Summary

Connecting to GitHub Copilot fails. Instead of completing the authentication/connection process, the application returns to the model/provider selection screen, creating an endless loop that prevents GitHub Copilot from being configured or used.

Expected Result

The GitHub Copilot connection is established successfully, and the selected provider becomes available for use.

Actual Result

After the connection process, the application redirects back to the model/provider selection screen instead of completing the setup. Repeating the process results in the same behavior, creating an infinite loop.

Impact

Users are unable to connect to or use GitHub Copilot, blocking access to the provider.

Additional Information

Plugins

None

OpenCode version

1.18.3

Steps to reproduce

  1. Open the application.
  2. Navigate to the AI model/provider selection.
  3. Select GitHub Copilot as the provider.
  4. Start the connection/authentication process.
  5. Complete any required authentication steps.

Screenshot and/or share link

Image

https://github.com/magnusoverli/opencode

Operating System

Home Assistant OS 18.1

Terminal

bash

Activity

  1. github-actions commented on Jul 20, 2026

    @github-actions
    Contributor

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

    You also mentioned #36819 yourself, but that one is specifically about enabled_providers config not being respected, which is a different issue.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions