microsoft / microsoft/VFSForGit

Requires authentication even for public repositories

Open
#878 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
6.1k
Forks
474
Avg merge
2d 4h
Merged PRs (30d)
8

Description

When VFSForGit is used to clone a public repository (i.e., one where authentication is not required), it prompts for authentication, even though it hasn't received a 401 response.

If one cancels the generic authentication dialog, the operation is aborted. If one simply hits Enter at the generic authentication dialog without filling any information in, the operation completes successfully.

If the operation is aborted, no NetworkResponse entries are logged to the log, suggesting that no network request has been made. If the operation completes because the user has entered empty authentication credentials, only 200 responses are listed in the NetworkResponse entries.

Ideally, one would be able to clone a public repository without being prompted for credentials, much like with Git.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing a clone of a public repository and inspect the authentication prompt and NetworkResponse logging described in the issue. Trace why the prompt appears without a 401 response; done means public repositories clone without prompting while authentication-required repositories continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, git
Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.