rlidwka / sinopia

Private npm repository server
5.51k stars 656 forks source link

Cannot get access to restricted resources using sinopia api. #365

Open wtrocki opened 8 years ago

wtrocki commented 8 years ago

Cannot download artifacts if sinopia is configured to require authentication to see some packages.

Steps to reproduce: Login to localhost sinopia instance (localhost:5040) You should see all private and public packages. Use API call to get one of restricted packages:

http://localhost:5040/my-module "error": "unregistered users are not allowed to access package my-module"

Proper cookie is sent but sinopia is not recognizing it.

isharajev commented 8 years ago

Have this issue too