10 Comments
User's avatar
Raul Junco's avatar

Nice breakdown, Saurabh.

JWTs work great for microservices, but sessions still win when you need quick revocation and tighter control.

It's all about trade-offs and context.

Thanks for the article.

Expand full comment
Saurabh Dashora's avatar

Thanks Raul. Great point about the session revocation advantage.

Expand full comment
NAROTAM KUMAR MISHRA's avatar

Very useful !!

Expand full comment
Saurabh Dashora's avatar

Thanks

Expand full comment
Matheus Ribeiro dos Santos's avatar

thanks for sharing!

Expand full comment
Krishna's avatar

Thanks, Saurabh.

Very useful article to read about differences between authentication mechanisms.

Expand full comment
Meenakshi NavamaniAvadaiappan's avatar

In customer facing financial applications all this cooked into user session credentials of database and services to know about the good 😊

Expand full comment
Adeola's avatar

Great share. As a Frontend Engineer I have seen both work in action for authorization, but JWT is vastly used than Cookies.

Expand full comment
Idrees Khan Pathan's avatar

👍

Expand full comment
Chakravarthy Batna's avatar

Good information

Expand full comment