connect/express middleware that validates a JsonWebToken (JWT) and set the req.user with the attributes
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
emorling opened this issue 2 years ago · comments
Is it possible to access the decoded contents of the JWT (exp and data fields) in the next() middleware? Or is the idea to extract it again to view the contents of the JWT?