lumber-jwt
v0.0.1-beta.0
Published
JWT authentication for Lumber.
Downloads
13
Readme
Lumber JWT
JWT middleware for Lumber based on express-jwt from Auth0.
Install
$ npm install lumber-jwt
$ lumber install lumber-jwt
Uninstall
$ rm -fr middlewares/lumber-jwt
Configuration
The environment variable JWT_SECRET
must be set.
A folder middlewares/jwt/
is automatically created after having run the
command lumber install lumber-jwt
. In this folder, you can tweak all
options available from the express-jwt
NPM package.