JSON Web Token (JWT, sometimes pronounced JOT) an internet standard for creating JSON-based access tokens that assert some number of claims. The tokens are signed either using a private secret or a public/private key.
In this video I want to discuss the difference between JWT (JSON web Tokens) and Session-Based Authentication. I will show examples with Node JS and Postgres. Finally, I’ll discuss the pros and cons of JWT. Chapters 0:00 Intro 2:25 Session-Based Auth 9:00 JWT Based Auth 16:10 Refresh Tokens 25:17 Asymmetric JWT 28:16 Example coding 42:00 Pros and Cons
Slides For This video https://youtu.be/T0k-3Ze4NLo