Skip to content

dillanjwilding/expressjs-authenticate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

expressjs-authenticate

Configurable Express Authentication Middleware

Setup

const { setup, requireAuth } = require('expressjs-authenticate')({
  secret: process.env.JWT_SECRET,
  client,
  connection,
  usernameField: 'email'
})
...
const app = express()
setup(app)

About

Configurable Express Authentication Middleware

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published