Skip to content

sojs-coder/SoAuth-Node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: ...
    }
  }
  */
})

About

Express middleware for SoAuth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published