noprom-egg-passport-github

1.0.4 • Public • Published

egg-passport-github

NPM version build status Test coverage David deps Known Vulnerabilities npm download

github passport plugin for egg

Install

$ npm i egg-passport-github --save

Usage

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

Configuration

// config/config.default.js
exports.passportGithub = {
  key: 'your oauth key',
  secret: 'your oauth secret',
};

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

Questions & Suggestions

Please open an issue here.

License

MIT

Package Sidebar

Install

npm i noprom-egg-passport-github

Weekly Downloads

6

Version

1.0.4

License

MIT

Unpacked Size

5.57 kB

Total Files

6

Last publish

Collaborators

  • noprom