DZone

JSON Web Tokens, or JWTs, are used almost everywhere — even when they shouldn’t be! This tutorial will go over the basics of JWT as well as the specifications in the JOSE, or Javascript Object Signing and Encryption family. 

What Is a JWT?

A JWT is a structured security token format used to encode JSON data. The main reason to use JWT is to exchange JSON data in a way that can be cryptographically verified. There are two types of JWTs:

Source: DZone