verdaccio-auth-capi

A Verdaccio Auth Plugin configured for CAPI

Usage no npm install needed!

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

README

Verdaccio-Auth

This is a Verdaccio Auth Plugin configured to authenticate users against a CAPI

Installation

npm install verdaccio-auth-capi

Config

Add this to your config.yaml

auth:
    auth-capi:
        url:
            auth: Authentication Endpoint
        group:
            enable: Boolean (Enable to check group level)
            level: Integer (Minimum Access Level Required)
            name: String (Required) Group name to return in callback
        api:
            key: API Key
            account: Account

Dependencies

  1. superagent