Stop Using JWTs

Hacker News Top News

Summary

An opinion piece arguing against the use of JSON Web Tokens (JWTs) for authentication and session management, citing security and design concerns.

No content available
Original Article

Similar Articles

Preventing token theft

Lobsters Hottest

The article discusses the problem of authentication token theft by infostealer malware and explores a 15-year-old proposal by Dirk Balfanz to use self-signed client certificates for TLS mutual authentication to bind tokens to a specific device, preventing token reuse even if stolen.

Why We Don't Trust the Database with Authentication

Hacker News Top

This article explains the dangers of trusting the database as the sole source of truth for API authentication, using a SQL injection scenario, and presents Sturdy Statistics' approach of using HMAC-SHA512 with a cryptographic pepper for defense in depth.

SAML: A Fractal of Bad Design

Hacker News Top

The article critiques the SAML authentication protocol for its design flaws and complexity, advocating for its deprecation in favor of modern alternatives like OpenID Connect.