Skip to content
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

NuGet should indicate the credentials (or lack thereof) used when trying to access a private feed #1500

Open
RanjiniM opened this issue Oct 1, 2015 · 1 comment

Comments

@RanjiniM
Copy link

RanjiniM commented Oct 1, 2015

This is not a regression

When trying to restore from an authenticated feed whose credentials aren't specified in nuget.config a message "Please provide credentials for feed " is displayed

  1. in White
  2. Doesn't specify that the credentials should be specified in nuget.config in section
  3. And an username prompt is emitted but the command continues to run without a chance for user to enter the credentials

Instead

  1. Display the text in Red so the user knows that lack of credentials is the issue
  2. Given more details on where to store these credentials. A doc link is much better
  3. Better yet prompt for username, password

edit by @nkolev92

Additional ideas, leave breadcrumbs on higher verbosity about the authentication method used.
Nowadays, frequently some creds will be used, but they might be outdated/restricted etc.

We should also ensure that the http code is also communicated (40x)

@RanjiniM RanjiniM added the Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. label Oct 1, 2015
@RanjiniM RanjiniM added this to the 3.3.0-commandline milestone Oct 1, 2015
@RanjiniM RanjiniM self-assigned this Nov 13, 2015
@yishaigalatzer yishaigalatzer modified the milestones: 3.4, 3.3.0-commandline Nov 23, 2015
@yishaigalatzer yishaigalatzer modified the milestones: 3.4 Beta, 3.4 RTM Feb 25, 2016
@yishaigalatzer yishaigalatzer modified the milestones: 3.4 RTM, 3.4 RTM - Triage Mar 11, 2016
@rrelyea rrelyea added the Product:NuGet.exe NuGet.exe label Mar 29, 2016
@rrelyea rrelyea modified the milestones: 3.5 Beta, 3.4 RTM Mar 30, 2016
@yishaigalatzer yishaigalatzer modified the milestones: 3.5 Beta, 3.5 RC Apr 8, 2016
@emgarten emgarten modified the milestones: Future-1, Backlog Nov 10, 2017
@nkolev92 nkolev92 changed the title nuget restore should display a clear message when trying to restore from a private feed without credentials NuGet should indicate the credentials (or lack thereof) used when trying to access a private feed Jan 2, 2020
@nkolev92
Copy link
Member

nkolev92 commented Jan 2, 2020

Broadening the scope here.

In general this issue now refers to having some sort of breadcrumbs when doing authentication.

NuGet should indicate whether creds were used, how they were acquired etc.

We should cover all clients, and all NuGet operations.

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

No branches or pull requests

7 participants