Details
-
New Feature
-
Resolution: Fixed
-
Neutral
-
1.0
-
None
-
-
Empty show more show less
-
Basel 43
-
1
Description
Even after the final release of nexus3 it seems the user-token authentication used in nexus2 does not seem to work properly or the realm has changed. Either way adding the possibility to use the npm Bearer token is a legit use case, so you can use the generated '.npmrc' file for obtaining the auth token generated by:
npm login --registry=https://npm.magnolia-cms.com/repository/npm-internal/
Note: the tailing '/' is important. Otherwise it will add an entry with 'https://npm.magnolia-cms.com/repository' in .npmrc. Weird..
Reference:
http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules
https://books.sonatype.com/nexus-book/reference/usertoken.html (nexus 2)
https://books.sonatype.com/nexus-book/3.0/reference/security.html#realms (nexus 3)
Checklists
Acceptance criteria