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
I am running Verdaccio through Caddy's reverse proxy on path /verdaccio/. Publishning scoped packages works - I didn't try with unscoped packages. In web ui (in Google Chrome) if I am authenticated newly published scoped packages arent't visible even after refresh - to see them logout & login is needed.
I think there is issue with authentication in general. If webpage is open in non-focused tab for some time, index after refresh switches to:
No Package Published Yet.
To publish your first package just:
1. Create user
npm adduser --registry http://localhost/verdaccio/
2. Publish
npm publish --registry http://localhost/verdaccio/
3. Refresh this page
And if I was on single package page before refresh, I get following error after refresh:
Sorry, we couldn't find it...
And in network tab I see 401 response to http://localhost/verdaccio/-/verdaccio/data/sidebar/@scopename/packagename with body:
{
"error": "authorization required to access package @kopit/it-frontend"
}
However clicking on profile tab looks like I am still authenticated:
Your Environment
Describe the bug
I am running Verdaccio through Caddy's reverse proxy on path
/verdaccio/
. Publishning scoped packages works - I didn't try with unscoped packages. In web ui (in Google Chrome) if I am authenticated newly published scoped packages arent't visible even after refresh - to see them logout & login is needed.To Reproduce
Caddyfile:
In cli:
Go to http://localhost/verdaccio/ and login (user created earlier).
Create package and publish it:
Refresh http://localhost/verdaccio/. Newly added package at this point still is not visible for me.
Login, Logout through web ui and new package is finally listed.
Expected behavior
Newly published packaged visible after refresh, not after reauthentication.
Configuration File (cat ~/.config/verdaccio/config.yaml)
Environment information
Contribute to Verdaccio
The text was updated successfully, but these errors were encountered: