Skip to content

Update proxy authentication instructions for VS #39578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

juihanamshet1
Copy link

@juihanamshet1 juihanamshet1 commented Jul 29, 2025

Instructions for COPILOT_USE_DEFAULTPROXY

Why:

Closes:

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

Added options for authenticating to a proxy in Windows.
@Copilot Copilot AI review requested due to automatic review settings July 29, 2025 19:47
Copy link

welcome bot commented Jul 29, 2025

Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

Copy link
Contributor

github-actions bot commented Jul 29, 2025

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
copilot/how-tos/configure-personal-settings/configure-network-settings.md fpt
ghec
fpt
ghec

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the proxy authentication instructions for Visual Studio users of GitHub Copilot by adding information about the COPILOT_USE_DEFAULTPROXY environment variable. The change provides an additional authentication method alongside the existing credential-in-URL approach.

Key changes:

  • Adds documentation for the COPILOT_USE_DEFAULTPROXY environment variable as an authentication option
  • Restructures the authentication instructions into a numbered list format
  • Maintains the existing credential-in-URL method as an alternative

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Jul 29, 2025
Copy link

@noellelc noellelc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@@ -71,7 +71,11 @@ If you have configured a proxy but are still encountering connection errors, see

### Basic authentication

{% data variables.product.prodname_copilot_short %} for {% data variables.product.prodname_vs %} does not retrieve authentication credentials from the Windows settings. If you need to authenticate to a proxy, you can include your credentials in the proxy URL (for example: `http://USERNAME:[email protected]:5187/`), then set this URL as one of the supported environment variables listed in [Proxy settings for {% data variables.product.prodname_copilot_short %}](/copilot/concepts/network-settings-for-github-copilot#proxy-settings-for-copilot).
{% data variables.product.prodname_copilot_short %} for {% data variables.product.prodname_vs %} does not retrieve authentication credentials from the Windows settings.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because in another place in the docs, this could potentially be confusing, maybe it's worth making a more explicit statement here like:
""While Copilot for Visual Studio reads the proxy settings from Windows, it does not retrieve authentication credentials from those Windows settings. If you..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Do not begin working on this issue until triaged by the team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants