Skip to content
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

Dynamic authorization with NPM to support private packages #329

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ElyaConrad
Copy link

  • Passes the Authorization header field of the original request to the requests on the registry
  • To ensure that lru-cache still works as expected and does not expose private packages in any way, the cacheKey gets concatenated with the given Authorization header hashed using the password-safe hashing algorithm bcrypt

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.

1 participant