JSON Web Token is a standard for exchanging JSON data that are protected by an encrypted signature. You can use JWT to share any JSON data but RFC 7519 provides a standard for what information you should store in the payload.
RFC 7519: https://datatracker.ietf.org/doc/html...
JWT Example Source Code: https://gist.github.com/MeetMartin/78...
Full deep dive into JSON Web Token: https://betterprogramming.pub/jwt-ult...
For more JWT videos, see the JWT playlist: • JWT - JSON Web Token in under 5 minutes
00:00 - JSON Web Token
00:19 - What to save
00:37 - RFC 7519 claims
01:27 - Signing JWT claims
01:47 - JWT identity token
02:02 - JWT authorization token
02:14 - Verifying JWT claims
02:34 - Other JWT topics