Best of JWTMay 2025

  1. 1
    Article
    Avatar of bytebytegoByteByteGo·47w

    EP164: JWT Simply Explained

    JSON Web Tokens (JWT) provide a secure method for transmitting information between parties using an open standard. They are primarily used for authentication and authorization. A JWT comprises a header, payload, and signature, with two signature types: symmetric and asymmetric, based on the use of secret and public keys. JWTs are integral to modern web applications, ensuring secure data exchange.

  2. 2
    Article
    Avatar of systemdesignnewsSystem Design Newsletter·49w

    The System Design Newsletter

    The post explains the concept of JSON Web Tokens (JWT) and their structure, as well as their role in user authentication and authorization. It highlights the advantages of using JWT in distributed systems for scalability and ease of managing user sessions across servers. The post also addresses potential security risks associated with JWT and offers tips for mitigating these risks.

  3. 3
    Article
    Avatar of logrocketLogRocket·50w

    Authentication and authorization in Astro

    Astro's unique islands architecture presents challenges for authentication and authorization, requiring manual handling using middleware for protected routes. This guide demonstrates integrating authentication, leveraging Astro’s SSR capabilities, and using JWTs for a vehicle rental app. It details database setup, React and Tailwind integration, and server actions for user management. Route protection ensures admin-only access with detailed steps.