express-microservice-auth

express microservice for local and social auth with passport and mongoose

Usage no npm install needed!

<script type="module">
  import expressMicroserviceAuth from 'https://cdn.skypack.dev/express-microservice-auth';
</script>

README

Build Status"> Dependency Status devDependency Status MIT Licence
Express microservice for local and social auth with passport and mongoose

Install

Execute:

npm install --save express-microservice-auth

Using microservice

There are an example of use in "example/app.js" For run in development the example execute:

npm run dev

For debug the example execute:

npm run debug

For simple start the example execute:

npm run start

Config

Copy, edit and rename the file "example/options.template.json"

TODO

  • Implement Local login
  • Test Twitter login
  • Test Instagram login
  • Test GitHub login
  • Implement automatic tests