Skip to content

google passport plugin for egg. only support OAuth 2.0.

License

Notifications You must be signed in to change notification settings

eggjs-community/egg-passport-google

Repository files navigation

egg-passport-google

NPM version build status Test coverage David deps Known Vulnerabilities npm download

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.

License

MIT