auth0 passport plugin for egg
$ npm i @dyhpoon/egg-passport-auth0 --save
node: ">=8.0.0"
// config/plugin.js
exports.passportAuth0 = {
enable: true,
package: 'egg-passport-auth0',
};
// config/config.default.js
exports.passportAuth0 = {
domain: 'your auth0 domain',
clientID: 'your auth0 clientId',
clientSecret: 'your auth0 clientSecret',
};
see config/config.default.js for more detail.