Skip to content

Use auth tokens for NPM registry requests #1086

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

Closed
wants to merge 1 commit into from

Conversation

bripkens
Copy link
Contributor

Summary
The NPM registry and NPM compatible registries support privately hosted
modules. To access meta data for these modules and the modules' tarballs
themselves, bearer tokens can be used.

To support this, NPM's _auth property need to be raed from the config
and this option must be used for meta data and tarball requests as the
bearer token.

Test plan
I did not add tests for this as I am interested in general design feedback and intent of support first.

The NPM registry and NPM compatible registries support privately hosted
modules. To access meta data for these modules and the modules' tarballs
themselves, bearer tokens can be used.

To support this, NPM's `_auth` property need to be raed from the config
and this option must be used for meta data and tarball requests as the
bearer token.
@sebmck
Copy link
Contributor

sebmck commented Oct 15, 2016

#839 already did this.

@sebmck sebmck closed this Oct 15, 2016
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.

2 participants