How To Secure Your Node.js Application With JSON Web Token Tutorial
What is this article about?
When you create a web application the transfer of sensitive data from front-end to back-end also whether the data is coming from a valid user or not becomes a very important job. Since front-end is separated from back-end you need a safe way to carry out these operations. One of the way of doing that is jwt tokens.
JWT stands for JSON web tokens. JWT are open, industry-standard for representing claims securely between two parties. It became popular in the early 2010’s and is pretty easy to integrate and use in your own application.
Before going into using jwt first we will see few things in details like what jwt contains, how it works behind the scenes. Lets dive into it.