google passport plugin for egg. only support OAuth 2.0.
$ npm i egg-passport-google --save
// config/plugin.js
exports.passportGoogle = {
enable: true,
package: 'egg-passport-google',
};
// config/config.default.js
exports.passportGoogle = {
key: 'your oauth key',
secret: 'your oauth secret',
};
see config/config.default.js for more detail.
Please open an issue here.