NuGet.exe push 403 handling - Incorrectly prompting for credentials (original) (raw)

NuGet.exe is incorrectly prompting for credentials on push that results in 403 Unauthorized. I tested this against local gallery but verified it has the same behaviour against NuGet.org.

Repro steps

Expected

NuGet.exe 2.x, 3.2.0, 3.3.0 show a 403 Forbidden with the error message.

1

## Actual

NuGet.exe 3.4.3, 3.4.4 and 3.5.0-beta prompt for credentials.

2

After 3 failed attempts, the 403 Forbidden is shown.

3