You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GitHub Copilot Plugin does not allow for specifying business- or enterprise-specific URLs #37976
GitHub provides the URLs api.business.githubcopilot.com and api.enterprise.githubcopilot.com for Business and Enterprise licenses, respectively. Many enterprise customers with a GitHub Copilot Business or GitHub Copilot Enterprise license block api.githubcopilot.com at the network level to prevent employees from using a personal GitHub Copilot license and implement subscription based networking.
This results in an inability to use OpenCode in these environments because the subscription-based URL can't be selected.
If your issue is distinct from those (e.g., specifically about selecting the business/enterprise API URL as a configurable option rather than the broader auth/endpoint issues), please clarify so maintainers can track it separately.
I do not have access to these accounts, ill try to figure out how to better support those, also will happily accept prs if u can demonstrate that it in fact works
Addressed by #38184. V2 now discovers the account-specific Copilot API endpoint during device OAuth, stores it with the credential, and uses it for model discovery and inference. This covers Business and Enterprise subscription-specific endpoints without requiring the previously hardcoded api.githubcopilot.com URL. Closing as resolved on the v2 branch.
Activity
github-actions commentedon Jul 20, 2026
This issue might be a duplicate of existing issues. Please check:
api.githubcopilot.comendpoint as one of several compounding issues for Copilot Business/Enterprise users (closed)If your issue is distinct from those (e.g., specifically about selecting the business/enterprise API URL as a configurable option rather than the broader auth/endpoint issues), please clarify so maintainers can track it separately.
rekram1-node commentedon Jul 20, 2026
I do not have access to these accounts, ill try to figure out how to better support those, also will happily accept prs if u can demonstrate that it in fact works
opencode-agent commentedon Jul 22, 2026
Addressed by #38184. V2 now discovers the account-specific Copilot API endpoint during device OAuth, stores it with the credential, and uses it for model discovery and inference. This covers Business and Enterprise subscription-specific endpoints without requiring the previously hardcoded api.githubcopilot.com URL. Closing as resolved on the v2 branch.