verdaccio-appsolutegeek-delegated-authdeprecated

verdaccio(sinopia) authentication plugin that delegates authentication to another HTTP URL, Support RESTful and JSON-RPC

Usage no npm install needed!

<script type="module">
  import verdaccioAppsolutegeekDelegatedAuth from 'https://cdn.skypack.dev/verdaccio-appsolutegeek-delegated-auth';
</script>

README

verdaccio-delegated-auth

verdaccio(sinopia) authentication plugin that delegates authentication to another HTTP URL, Support RESTful and JSON-RPC

Installation

$ npm install verdaccio-delegated-auth

Config

Add to your config.yaml:

auth:
  # htpasswd:
  #   file: ./htpasswd
  delegated-auth:
    url: https://your-auth-api/
    user_key: name # username field, default: username
    pwd_key: password # password field, default: password