Express middleware to logout a user from passport and redirect somewhere.
It will
req.logout()
- delete
req.session
- redirect to
req.query.returnTo
if exists, if notres.send(bye)
Install
npm install express-passport-logout
Usage
var logout = ; app;
License
MIT - Auth0