Skip to content

Latest commit

 

History

History
executable file
·
39 lines (27 loc) · 598 Bytes

README.md

File metadata and controls

executable file
·
39 lines (27 loc) · 598 Bytes

egg-passport-weixin

weixin passport plugin for egg

Install

$ npm i egg-passport-weixin --save

Usage

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

Configuration

// config/config.default.js
exports.passportWeiXin = {
  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