node-express-woologin

1.1.6 • Public • Published

Node Express Woologin

Library for client applications for using WooUser SSO system.

Installation

Use the npm to install foobar.

npm install woologin

Usage

Authorization

const woologin = require("node-express-woologin");

router.post('/list', woologin.auth, async (req, res) => {
   ...
})

User Router

const woologin = require("node-express-woologin");

app.use('/user', woologin.userRouter);

/**
 * Will be awailable after set
 * http://localhost:5000/user/sso
 * http://localhost:5000/user/logout
 * http://localhost:5000/user/verify 
 */

License

MIT

Package Sidebar

Install

npm i node-express-woologin

Weekly Downloads

0

Version

1.1.6

License

ISC

Unpacked Size

9.27 kB

Total Files

5

Last publish

Collaborators

  • woomedya