Skip to content

github passport plugin for egg

License

Notifications You must be signed in to change notification settings

eggjs/egg-passport-github

Repository files navigation

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