Logo
Documentation: A love letter to your future self.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Rolling-your-own Memes

Posts tagged with Rolling-your-own

I Must Be A Genius

Security Javascript Programming Backend Webdev
11 months ago 429.1K views 0 shares
I Must Be A Genius
Rolling your own JWT authentication is basically the security equivalent of performing brain surgery on yourself because you watched a YouTube tutorial. Sure, you technically implemented authentication, but you've also probably introduced 47 different attack vectors that a security researcher will gleefully document in a CVE someday. There's a reason why battle-tested libraries like Passport, Auth0, or even Firebase Auth exist. JWT has so many gotchas—algorithm confusion attacks, token expiration handling, refresh token rotation, secure storage, XSS vulnerabilities—that even experienced devs mess it up. But hey, at least you can brag about it at parties while the security team quietly adds your endpoints to their watchlist. Pro tip: If your JWT implementation doesn't make you question your life choices at least three times, you're probably missing something important.

Today's picks

Where's The Love

Where's The Love

Programming
149.5M views 16 days ago
NordVPN

NordVPN

Sponsored
VPN
Original poster u/MaKr710

Original poster u/MaKr710

Programming
106.6K views 4 years ago