Generic JWT Authorization header field parser for whatever.
$ npm install jwt-parser
var auth =
Get the JWT payload from the given request. JWT
secret also required so
it can decode and get payload correctly. The
header is parsed and if the header is invalid,
undefined is returned,
otherwise will return decode jwt payload.
var auth = ;var user = ;