node-express-woologin
v1.1.6
Published
Woo media user login helper.
Downloads
42
Readme
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
*/