@sojs_coder/soauth
v1.0.8
Published
Express middleware for SoAuth
Downloads
2
Readme
SoAuth-Node
SoAuth express middleware.
Usage
const soauth = require("@sojs_coder/soauth").soauth;
app.use(soauth);
app.get('/',(req,res)=>{
console.log(req.so_auth)
/*
{
user: {
email: ...,
fName: ...,
lName: ...,
verified: true|false,
pfp: ...,
username: ...
}
}
*/
})