
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
mzugm-verdaccio-auth0-ui
Advanced tools
π¦π Verdaccio Auth0 Connect - With UI Support
This is a Verdaccio plugin that offers OpenID Connect integration for both the browser and the command line.
$ npm install verdaccio-auth0-ui
On Auth0 management page:
NPM Registry
YOUR_REGISTRY_URL/-/oauth/callback
YOUR_REGISTRY_URL
https://yourprivateregistry.com/
read:packages
and write:packages
permissionshttps://yourprivateregistry.com/
to that Role.Merge the below options with your existing Verdaccio config:
middlewares:
oidc-auth0-ui:
enabled: true
auth:
oidc-auth0-ui:
org: REQUIRED_PERMISSION
client-id: OIDC_CLIENT_ID
client-secret: OIDC_CLIENT_SECRET
oidc-issuer-url: https://yourorg.eu.auth0.com
oidc-audience: https://yourprivateregistry.com/
oidc-userinfo-nickname-property: nickname
oidc-access-token-permissions-property: permissions
url_prefix: YOUR_REGISTRY_URL
middlewares
or the auth
node. Just make sure, the addon is included under both nodes.org
Users within this group will be able to authenticate.
client-id
and client-secret
These values can be obtained from Auth0 App page.
oidc-issuer-url
The URL of your Auth0 endpoint. E.g. https://yourorg.eu.auth0.com
oidc-audience
(optional)API Audience of your npm registry defined in Auth0. E.g. https://yourprivateregistry.com/
oidc-userinfo-nickname-property
(optional)The userinfo key that represents a username with your identity provider. Defaults to nickname
oidc-access-token-permissions-property
(optional)Permissions property stored in access_token
. Defaults to permissions
url_prefix
(optional)If configured, it must match YOUR_REGISTRY_URL
. See GitHub Config.
If you are behind a proxy server, the plugin needs to know the proxy server in order to make GitHub requests.
Configure the below environment variable.
$ export GLOBAL_AGENT_HTTP_PROXY=http://127.0.0.1:8080
See the global-agent docs for detailed configuration instrcutions.
You are now logged in.
Important: Make sure to click the Request or Grant button for read:org
access when prompted to authorize.
If you accidentally skipped this step, go to https://github.com/settings/applications, find the Verdaccio registry and grant read:org
access from there.
The easiest way to configure npm is to use this short command:
$ npx verdaccio-auth0-ui --registry http://localhost:4873
Open the "Register Info" dialog and klick "Copy to clipboard":
Select the text in the header and copy it. In case the text is too long, you can double-click it. The invisible part will still be selected and copied.
$ npm config set //localhost:4873:_authToken "SECRET_TOKEN"
$ npm config set //localhost:4873:always-auth true
whoami
command. Example:$ npm whoami --registry http://localhost:4873
n4bb12
If you see your GitHub username, you are ready to start installing and publishing packages.
Click the Logout button as per usual.
Unless OAuth access is revoked in the GitHub settings, the token is valid indefinitely.
To invalidate your active login tokens you need to revoke access on the GitHub OAuth app:
If you have created the GitHub OAuth app, you can also revoke access for all users:
FAQs
π¦π Verdaccio Auth0 Connect - With UI Support
We found that mzugm-verdaccio-auth0-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezerβs API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.