You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
baybal
changed the title
[BUG] CDN download doesn't use provided HTTP Authorization token even if it's provided in the URL
[BUG] CDN download doesn't use provided HTTP Authorization token (even if it's provided hardcoded in the URL)
Oct 20, 2023
Is there an existing issue for this?
Current Behavior
Authorization token is not passed to downloader, nor from the credential storage, nor from URL directly
$ npm i -S git+https://oauth2:ghp_************@github.com/************/private_repo.git
npm http fetch GET 404 https://codeload.github.com/me/private_repo/tar.gz/hash 1294ms (cache skip)
Expected Behavior
Auth passed to downloader from credential storage
npm http fetch GET 200 https://codeload.github.com/me/private_repo/tar.gz/hash 1294ms (cache skip)
Steps To Reproduce
Environment
The text was updated successfully, but these errors were encountered: