I need to set up multiple npm tokens that are under two different scopes
@scope1:registry=https://registry.npmjs.org/
@scope2:registry=https://registry.npmjs.org/
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
I have tried to add the an auth Token to each scope
@scope1:registry=https://registry.npmjs.org/:_authToken=${TOKEN_1}
@scope2:registry=https://registry.npmjs.org/:_authToken=${TOKEN_2}
But I am getting a 405 when I am trying to install a package.
I tried looking up the docs: https://docs.npmjs.com/using-npm/config but I cannot find a way to specify different tokens for different scopes