What are JSON Web Tokens (JWT)
Explore the concept of JSON Web Tokens (JWT) as a method to securely transmit information between client and server. Understand the components of JWT including header, payload, and signature, and how they ensure data integrity and secure communication even over unsecure connections.
We'll cover the following...
Overview
We have two parties, the client and the server, involved in many applications. We need to pass information back and forth between them. Otherwise, the app we’re creating will be completely useless.
If we use a TLS secured HTTPS connection (see the lesson Authentication). we need some integrity checks. It isn’t always some external party that wants to steal our data or gain access to the application. One of our regular users may try to gain access to data that they shouldn’t have.
Ift we need to communicate some data over an unsecure connection, it should ideally be ...