egg-aikin-auth

password refresh_token oauth2 egg-plugin

Usage no npm install needed!

<script type="module">
  import eggAikinAuth from 'https://cdn.skypack.dev/egg-aikin-auth';
</script>

README

egg-aikin-auth

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

Install

$ npm i egg-aikin-auth --save

Usage

// {app_root}/config/plugin.js
exports.auth = {
  enable: true,
  package: 'egg-aikin-auth',
};

Configuration

// {app_root}/config/config.default.js
exports.auth = {
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT