yuque passport plugin for egg, base YuQue's OAuth API.
See https://github.com/eggjs/examples/tree/master/passport
$ npm i egg-passport-yuque --save
// config/plugin.js
exports.passportYuque = {
enable: true,
package: 'egg-passport-yuque',
};
// config/config.default.js
exports.passportYuque = {
key: 'your oauth key',
secret: 'your oauth secret',
};
see config/config.default.js for more detail.
See egg-passport apis https://github.com/eggjs/egg-passport#apis
Please open an issue here.
fengmk2 |
okoala |
---|
This project follows the git-contributor spec, auto updated at Wed May 08 2019 21:03:00 GMT+0800
.