Supplying a username for authenticating with a NuGet feed on Azure DevOps #33796
fehckru
started this conversation in
Suggest an Idea
Replies: 2 comments
-
PR welcome to adjust the docs |
Beta Was this translation helpful? Give feedback.
0 replies
-
I might have done that if I was 100% sure, but while troubleshooting my issues I stumbled across this thread and #29987. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tell us more.
The docs state that one needs to supply a username matching the user of the PAT when setting up a
hostRule
for using NuGet feeds hosted on Azure DevOps.I believe this to be false.
Any username will work just fine, as it is ignored, i.e. the following will do:
I painfully tested this, and my claim is also in line with Microsoft's docs on using a PAT.
There is also several samples on the web and in these github discussions that point to this being the case.
Beta Was this translation helpful? Give feedback.
All reactions