Capability to NPM install private gitlab repo


I am trying to use one of my private gitlab repositories as npm package. I am successfully able to do it when access to repo is public but not with private.

Can someone help me understand the authentication mechanism. I cannot use ssh because of the way our CI is setup.

I have looked into:

But private token or gitlab ci runner token are not working.

1 Like