express-jwt
express-jwt copied to clipboard
Set payload to request even if token fails to verify (closes #158)
This is useful if you want to do some error handling that depends on the contents of the jwt (for example, if the jwt is expired but is otherwise valid, use some refresh token to update the jwt instead of rejecting it, etc)