-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why support of legacy auth was dropped? #598
Comments
#538 (comment) captures most of the reasoning behind the decision. nexus continuing to support only legacy auth is new information and their current documentation appears to confirm, but is likely not enough to cause us to reverse our decision. personally, using a registry that continues to require the use of a password would make me question its approach to authorization since it prevents the ability to reduce the level of access granted when leaked. i understand that recommending a registry switch is not a small task, but i would at least consider this a variable to consider when weighing continued use into the future. short of that, the best i can suggest is to continue use of the previous major version of the npm plugin, which has been stable for some time. however, we have no plans to continue maintenance of that version. |
I respect your decision but it is not always possible to switch out the registry within a company because it is used for other repositories besides npm and used by multiple departments. I just want to simply add a workaround I implemented for our GitLab CI that doesn't require any changes in the plugin: Based on the documentation we generate the base64 encoded string and store it in a Variable (Repository Settings > CI/CD) In the pipeline configuration we update the npm config before executing semantic-release:
The way I understand it, the plugin will pick up the existing I hope this helpful for some poor soul. :) |
That soul is me and this is the exact use case. Thank you for the helpful comment. Using the following to generate NPM_TOKEN
Another thing was setting:
|
Hello.
I see that legacy auth was dropped few releases before. (51ab3c8)
Why?
Is there another way to use legacy auth? We use nexus, and
authToken
not supported yet.The text was updated successfully, but these errors were encountered: