Skip to content

feat: support custom mirror auth token - #3373

Open
carmelid wants to merge 1 commit into
nodejs:mainfrom
carmelid:carmelid-support-private-dist-auth
Open

carmelid wants to merge 1 commit into
nodejs:mainfrom
carmelid:carmelid-support-private-dist-auth

Conversation

@carmelid

Copy link
Copy Markdown

Fixes #3372

Checklist
  • npm install && npm run lint && npm test passes
  • tests are included
  • documentation is changed or added
  • commit message follows commit guidelines
Description of change

Add support for authenticated private --dist-url mirrors.

The new --dist-url-auth-token option sends a Bearer token only to URLs under the configured distribution mirror. Authentication applies consistently to headers, checksum, and Windows node.lib downloads. Documentation and URL-scoping tests are included.

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

Successfully merging this pull request may close these issues.

Support authentication for private --dist-url Node.js distribution mirrors

1 participant