@rhessinger Thanks for getting back to me.
I tried what you suggested, unfortunately doesn't work. Same 403 issue.
Posts made by torgabor_4445
-
RE: How to set up connector to npm repo with access token
-
RE: How to set up connector to npm repo with access token
@sdohle_3924 Tried setting the token as password, and the mode to 'Basic Auth'. Still getting 403
-
RE: How to set up connector to npm repo with access token
@atripp
I just tried what you suggested - passing the auth token as password, and leaving the user name as blank.
Same result - 403 forbidden -
RE: How to set up connector to npm repo with access token
Hi!
Thanks for the advice!
However I had no luck with this.
I tried setting the token as both the username or password on separate tries, and had no luck.
Both cases result in 403: Forbidden.Here's how I set it up:
-
How to set up connector to npm repo with access token
Hi!
We've been trying to set up a connector for our ProGet private npm feed to an external npm feed which can be accessed with an auth token:Here's what our local .npmrc looks like:
email=me@example.com always-auth=true registry=http://gitlab.com/api/v4/projects/12345/packages/npm/ //gitlab.com/api/v4/packages/npm/:_authToken=$TOKEN //gitlab.com/api/v4/projects/12345/packages/npm/:_authToken=$TOKEN
It works locally, however we couln't figure it out how to make access tokens work in the NPM connector.
Could you please help in how to set this up?
Thanks.