Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Repository files navigation

About

Verdaccio kuzzle

This is the official Kuzzle verdaccio authentication plugin.

This plugins allows you to connect to verdaccio packages proxy registry using kuzzle credentials.

Authentication

The plugin supports two authentication schemes that coexist (PaaS IAM migration, ADR-0001 Jalon F). The npm password selects the path:

  • Scoped API key (recommended). When the password starts with kapikey-, the plugin authenticates to Kuzzle with the key as its token and calls the PaaS console endpoint registry:resolveAccess. The console validates the key against its api-key-links binding (a revoked key is rejected), resolves the (identity, project) it maps to for traceability, and returns the access decision. Create a scoped key in the PaaS console (project → API keys) and use it as your npm password:

    npm config set //<registry-host>/:_password "$(echo -n 'kapikey-…' | base64)"
    npm config set //<registry-host>/:username paas
  • Username / password (deprecated). The historical local login checking the global license-user profile. It still works during the transition but is deprecated: clients get an npm-notice on responses, its usage is logged server-side, and it is removed with the legacy flow at migration step 8. Migrate to a scoped API key.

Configuration

auth:
  kuzzle:
    url: localhost
    port: 7512
    # Optional: override the deprecation notice shown to legacy clients.
    deprecationNotice: "Migrate to an API key — see https://…"

Kuzzle

Kuzzle is an open-source backend that includes a scalable server, a multiprotocol API, an administration console and a set of plugins that provide advanced functionalities like real-time pub/sub, blazing fast search and geofencing.

Compatibility matrix

Kuzzle Version Plugin Version
>= 2 1.x.x

Tests

To test it with a local kuzzle

docker-compose up --build
  • Then Kuzzle should be up at port 7512
  • Then Verdaccio should be up at port 4873
  1. Create a user on kuzzle, then try to login with it on verdaccio UI.

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.