patternMinor
What is Verdaccio's default login?
Viewed 0 times
verdacciodefaultloginwhat
Problem
Back in the day
Command
Log
GitHub
https://github.com/verdaccio/verdaccio/issues/1599
adduser
When http://localhost:4873 is opened, an instruction is shown how to create a new user. However, this fails:
Perhaps the company's proxy is causing the issue?
After issuing
admin:admin worked, but that results in an access denied. verdaccio:verdaccio does not work as well. The Dockerfile does not seem to contain a default password as well.Command
docker run -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccioLog
http <-- 401, user: null(172.17.0.1), req: 'POST /-/verdaccio/login', error: ba
d username/password, access denied
http <-- 401, user: null(172.17.0.1), req: 'POST /-/verdaccio/login', error: ba
d username/password, access denied
http <-- 401, user: null(172.17.0.1), req: 'POST /-/verdaccio/login', error: ba
d username/password, access deniedGitHub
https://github.com/verdaccio/verdaccio/issues/1599
adduser
When http://localhost:4873 is opened, an instruction is shown how to create a new user. However, this fails:
npm adduser --registry http://localhost:4873
Username: (admin) wow
Password: ()
Email: (this IS public) (jane@example.com) admin@admin.admin
npm ERR! code E403
npm ERR! 403 403 Forbidden - PUT http://localhost:4873/-/user/org.couchdb.user:wow
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy.Perhaps the company's proxy is causing the issue?
After issuing
npm config set https-proxy http://company-proxy and running the npm adduser again, a 403 is still returned.Solution
There is no default password, actually none at all. You must create a new user with
Then you are logged in.
➜ npm adduser --registry http://localhost:4873/
Username: wow
Password:
Email: (this IS public) verdaccio.does.ignore.email@whatever.com
Logged in as wow on http://localhost:4873/Then you are logged in.
Code Snippets
➜ npm adduser --registry http://localhost:4873/
Username: wow
Password:
Email: (this IS public) verdaccio.does.ignore.email@whatever.com
Logged in as wow on http://localhost:4873/Context
StackExchange DevOps Q#9964, answer score: 5
Revisions (0)
No revisions yet.