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

V3 install/restore only uses credentials for index.json #1300

Closed
jmyersmsft opened this issue Aug 31, 2015 · 1 comment
Closed

V3 install/restore only uses credentials for index.json #1300

jmyersmsft opened this issue Aug 31, 2015 · 1 comment
Assignees

Comments

@jmyersmsft
Copy link

We're still having problems with auth against v3 endpoints. Using:

  • nuget.exe built from current dev branch or CI build 10477
  • an authenticated v3 source containing the package 'SuperHelloLib'
  • credentials stored in nuget.config,

running:

nuget install SuperHelloLib

gives the following behavior:

  1. GET (index.json) (without credentials) -> 401 with auth challenge
  2. GET (index.json) (with Basic credentials) -> 200
  3. GET (Registration URL for SuperHelloLib) (without credentials) -> 401 with auth challenge
  4. NuGet.exe gives up with the message "Failed to retrieve metadata from source: '[query URL]'.". No further HTTP requests are issued.

The same behavior is seen with restore using a packages.config

@yishaigalatzer yishaigalatzer added this to the 3.2.0-commandline milestone Aug 31, 2015
@yishaigalatzer
Copy link

This should be verified both for command line, and visual studio extension

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

No branches or pull requests

4 participants