egg-passport-github

1.0.0 • 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 egg-passport-github

Weekly Downloads

27

Version

1.0.0

License

MIT

Last publish

Collaborators

  • fengmk2