@designa/auth-middleware
v2.0.4
Published
This middleware check for a jwt token in the headers and decode the user
Readme
AuthMiddleware
This middleware check for a jwt token in the headers and decode the user
Version 2 will return a 407 if any problem found with the TOKEN
Env Variables
JWT_SECRET is needed
how to install
to install npm install --save @designa/auth-middleware
