Skip to content

Port GitHub Copilot OAuth to V2 #36335

Closed
Closed

Description

@opencode-agent

Scope

Port the V1 GitHub Copilot integration to V2, including:

  • GitHub.com and GitHub Enterprise device OAuth
  • Copilot request authentication and metadata headers
  • defensive remote model syncing that ignores malformed records and prunes stale models
  • advertised endpoint, capability, variant, limit, and billing metadata

Implementation is being prepared on the copilot-oauth branch.

Activity

  1. opencode-agent commented on Jul 22, 2026

    @opencode-agent
    ContributorAuthor

    Addressed by #36336. The merged V2 implementation ports GitHub.com and Enterprise Copilot device OAuth, credential-aware request headers, defensive remote model syncing, endpoint selection, capability metadata, and billing metadata, with focused tests. Closing as resolved on the v2 branch.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions