Skip to content

Visual Studio NuGet Does Not Present Login Prompt When Existing Credential Become Invalid #9403

Open
@nickdalt

Description

@nickdalt

Details about Problem

Windows 10 1909
VS version v16.5

Scenario 1

  • Using the VS UI
  • Access a private NuGet server with valid credentials
  • Access is successful
  • Change credentials (e.g. password expires)
  • Attempt to access repository via VS UI

The expected outcome would be that internally the authentication would fail and VS would present a credentials request to the user. The actual outcome is that authentication fails and the only indication of failure is in the package manager tool window which is often not visible.

Scenario 2:

  • The events of scenario 1 have occurred and you realise that the password needs changing
  • Launch Windows Credential Manager
  • Find the relevant account credentials
  • Change the password or delete the credentials
  • Return to VS
  • Access to NuGet repository still fails

Expected outcome is that VS successfully accesses the NuGet repository, actual outcome is that VS cannot access the repository until it has been restarted.

Worked before? If so, with which NuGet version:

Never

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area:AuthenticationPriority:3Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Product:VS.Client

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions