Using JSON Web Tokens with Node.js - SitePoint
Briefly

Proper authentication helps avoid security threats and ensures that only the right users can access the required data.
Stateless APIs require an approach capable of carrying authentication/authorization information necessary to validate a request.
Read at Sitepoint
[
|
]