You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I trying to login to my self hosted verdaccio open upm server I receive this logs:
ERR! The registry at "there was link to my server" refused your request because you are not authenticated.
notice Use "openupm login" to authenticate with the registry.
notice Run with --verbose to get more information.
The problem is that same login command works great on Windows PC.
npm login also works great on both windows and mac os.
But OpenUPM cli continue to fail every time. What there can be? There is latest version of npm and openupm-cli.
Hey, I confirm this problem still persists.
I've ended up loggin with npm and building manually the .upmconfig.toml. In Editor it works. I'm using Verdaccio as self hosted registry.
This is the output of openupm login --verbose -r "https://myurl.com/npm":
verb Npm registry login failed.
verb HttpErrorAuthUnknown: Unable to authenticate, need: Basic
ERR! The registry at "https://myurl.com/npm" refused your request because you are not authenticated.
notice Use "openupm login" to authenticate with the registry.
When I login via npm I get the entry in .npmrc as you wrote above, with the _authToken field. If I place the / at the end I have the full url in there(//myurl.com/npm/:_authToken=<AUTH TOKEN>.), if not I only have //myurl.com/:_authToken=<AUTH TOKEN>.
Activity
favoyang commentedon Nov 4, 2024
Thanks for reporting the issue.
Please help me verify a few things:
The full log of
openupm -v login -r REGISTRY_URL.check the
.npmrc(at your home directory) to see if there is a line like below..upmconfig.tomlfile atat your home directory.theGiallo commentedon Apr 24, 2025
Hey, I confirm this problem still persists.
I've ended up loggin with npm and building manually the .upmconfig.toml. In Editor it works. I'm using Verdaccio as self hosted registry.
This is the output of openupm
login --verbose -r "https://myurl.com/npm":When I login via npm I get the entry in .npmrc as you wrote above, with the _authToken field. If I place the / at the end I have the full url in there(
//myurl.com/npm/:_authToken=<AUTH TOKEN>.), if not I only have//myurl.com/:_authToken=<AUTH TOKEN>.I'm using openupm 4.5.1, npm 11.3.0, macOS 15.0.