egg-passport-workweixin

0.4.1 • Public • Published

egg-passport-workweixin

work weixin passport plugin for egg

Install

$ npm i egg-passport-workweixin --save

Usage

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

Configuration

// config/config.default.js
exports.passportWorkWeiXin = {
  key: 'your oauth key',
  secret: 'your oauth secret',
  agentId: 0,
  callbackURL: '/passport/workweixin/callback',
  skipUserProfile: true
};

see config/config.default.js for more detail.

Questions & Suggestions

Please open an issue here.

License

Apache 2.0

Package Sidebar

Install

npm i egg-passport-workweixin

Weekly Downloads

0

Version

0.4.1

License

Apache 2.0

Last publish

Collaborators

  • liyunde