An athentication header is added to the request when there is an at-sign in the url. Scoped packages use an at-sign.
This resolves to true:
this.getScopedOption(registry.replace(/^https?:/, ''), 'always-auth') || this.getOption('always-auth')
|| removePrefix(requestUrl, registry)[0] === '@';
Is the idea of:
removePrefix(requestUrl, registry)[0] === '@';
to check for a username[:password]@ in the url?
EDIT: It was added in 50aae7d
Work around for now i just removed my _auth configuration (so it adds an empty string to the authorisation header.
Most helpful comment
Work around for now i just removed my
_authconfiguration (so it adds an empty string to theauthorisationheader.