0.1.0 • Published 1 year ago
egg-passport-github2 v0.1.0
egg-passport-github2
github passport plugin for egg
Install
$ npm i egg-passport-github2 --save
Usage
// config/plugin.js
exports.passportGithub2 = {
enable: true,
package: 'egg-passport-github2',
};
Configuration
// config/config.default.js
exports.passportGithub2 = {
key: 'your oauth key',
secret: 'your oauth secret',
};
see config/config.default.js for more detail.
0.1.0
1 year ago