Have ideas to improve npm?Join in the discussion! »

    @dyhpoon/egg-passport-auth0

    1.1.1 • Public • Published

    egg-passport-auth0

    NPM version Test coverage Circle CI David deps Known Vulnerabilities npm download

    auth0 passport plugin for egg

    Install

    $ npm i @dyhpoon/egg-passport-auth0 --save

    Requirements

    node: ">=8.0.0"
    

    Usage

    // config/plugin.js
    exports.passportAuth0 = {
      enable: true,
      package: 'egg-passport-auth0',
    };

    Configuration

    // config/config.default.js
    exports.passportAuth0 = {
      domain: 'your auth0 domain',
      clientID: 'your auth0 clientId',
      clientSecret: 'your auth0 clientSecret',
    };

    see config/config.default.js for more detail.

    License

    MIT

    Install

    npm i @dyhpoon/egg-passport-auth0

    DownloadsWeekly Downloads

    19

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    5.64 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar