egg-techoke-login

egg techoke login

Usage no npm install needed!

<script type="module">
  import eggTechokeLogin from 'https://cdn.skypack.dev/egg-techoke-login';
</script>

README

egg-techoke-login

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

依赖说明

依赖的 egg 版本

egg-techoke-login 版本 egg 1.x
1.x 😁
0.x

依赖的插件

开启插件

// config/plugin.js
exports.techokeLogin = {
  enable: true,
  package: 'egg-techoke-login',
  client_code: '',
  client_secret: '',
  platform: '', // qq, wechat, github, google, weibo, dingding
};

使用场景

  • Why and What: 登录 sso,暂不对外开放
  • How: 申请 client,配置即可。

详细配置

请到 config/config.default.js 查看详细配置项说明。

单元测试

提问交流

请到 egg issues 异步交流。

License

MIT