Sessions vs JWT vs Cookies : Understanding Authentication
Table of Contents
What cookies are
What sessions are
What JWT tokens are
Stateful vs stateless authentication
Session-based vs JWT: the key differences
When to use each method
1. What Cookies
authentication-and-security-by-navdeep.hashnode.dev6 min read