1.0.2 • Published 4 years ago
egg-passport-google v1.0.2
egg-passport-google
google passport plugin for egg. only support OAuth 2.0.
Install
$ npm i egg-passport-google --save
Usage
// config/plugin.js
exports.passportGoogle = {
enable: true,
package: 'egg-passport-google',
};
Configuration
// config/config.default.js
exports.passportGoogle = {
key: 'your oauth key',
secret: 'your oauth secret',
};
see config/config.default.js for more detail.
Questions & Suggestions
Please open an issue here.