What Is a JSON Web Token (JWT)?
A JSON Web Token (JWT) is a compact, URL-safe way to represent claims (statements about a user or session) that need to be passed between two parties. JWTs allow applications to authenticate users without storing session data on the server, since all required identity and authorization information can travel inside the token itself, which is why they are so common in modern APIs and microservices.