Understanding JWT Structure
Header
Typically consists of two parts: the type of the token (JWT) and the signing algorithm (HMAC SHA256 or RSA).
Payload
Contains the claims. Claims are statements about an entity (typically, the user) and additional data.
Signature
Used to verify that the sender of the JWT is who it says it is and to ensure that the message wasn't changed along the way.