• Shaarli
  • Tag cloud
  • Picture wall
  • Daily
  • RSS
  • Login
4387 shaares
Filters

JWT with Dancer2 | May 2026 | The Weekly Challenge

QRCode

Stateless (JWT)

How it works:

User logs in, server creates a JWT containing user data
Server signs the JWT with a secret key
Server sends JWT to client
Client sends JWT with every request
Server verifies the signature and trusts the data inside
Why it scales:

Any server can validate a JWT using the shared secret key
No database lookup needed per request
If you add 100 more servers, they all work immediately

https://theweeklychallenge.org/blog/jwt-with-dancer2/
May 29, 2026 at 9:20:41 AM EDT *
webdesign coding cgi
FILLER
Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community