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
We need to upgrade the uplink documentation to be more clear when the user sets Authorization headers. We do not explain we use JWT instead Basic Auth.
This commit is not documented properly, Verdaccio uses JWT instead Basic authorization, was deprecated in v2.3.0
Setup 2 verdaccio servers in the way is explained in the question
Install any package
App Version:
All
Config file:
uplinks:
aws:
url: https://our-NPM-AWS-server.com/
#strictUrlMatch: false
headers:
authorization: "Basic <token_which_I_harvested_from_/.npmrc_file>"
packages:
'@*/*':
# scoped packages
access: $all
publish: $authenticated
proxy: aws
'**':
# allow all users (including non-authenticated users) to read and
# publish all packages
#
# you can specify usernames/groupnames (depending on your auth plugin)
# and three keywords: "$all", "$anonymous", "$authenticated"
access: $all
# allow all known users to publish packages
# (anyone can register by default, remember?)
publish: $authenticated
# if package is not available locally, proxy requests to 'npmjs' registry
proxy: aws
My reason:
The following question in StackOverflow
https://stackoverflow.com/questions/49946420/npm-verdaccio-set-uplink-to-own-remote-server?noredirect=1#comment87120890_49946420
We need to upgrade the uplink documentation to be more clear when the user sets Authorization headers. We do not explain we use JWT instead Basic Auth.
This commit is not documented properly, Verdaccio uses JWT instead Basic authorization, was deprecated in
v2.3.0
d6e04be#diff-574051ef1fbe43a2746c5cd241d631c7L370
https://github.com/verdaccio/verdaccio/blob/master/docs/uplinks.md#configuration
Steps to reproduce:
App Version:
Config file:
Additional verbose log:
The text was updated successfully, but these errors were encountered: