JWT provides a security layer that can integrate seamlessly with new or existing Node.js APIs to authenticate and authorize user requests. JWT can also be the basis of stateless sessions.