Library for client applications for using WooUser SSO system.
Use the npm to install foobar.
npm install woologin
const woologin = require("node-express-woologin");
router.post('/list', woologin.auth, async (req, res) => {
...
})
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
*/