1d ago · 4 min read · 1. The Building Blocks: Cookies, Sessions, and JWTs Before comparing strategies, let's define the tools we use to identify users. What are Cookies? A Cookie is a small piece of data stored directly in
Join discussion
Apr 2 · 6 min read · If you have built a login system in a web application, you’ve probably faced this question at least once: Where should I store my JWT token? At first, most developers (including me) store it in loca
Join discussion
Mar 31 · 4 min read · In this tutorial, we’ll build a FastAPI authentication system with JWT tokens, role-based access (USER and ADMIN), and secure password hashing using Argon2. The backend will use MySQL. This project is
Join discussion
Mar 29 · 13 min read · How Do You Secure an API? The 4-Layer Framework That Actually Works APIs are the backbone of every modern application — and the most common entry point for attackers. Most developers bolt security on as an afterthought: one middleware, one config fla...
Join discussionMar 28 · 4 min read · Most authentication tutorials stop at “generate a JWT and you’re done.” That’s not how real systems work. I wanted to understand authentication deeply, not just use libraries, so I built a production-
Join discussion
Mar 27 · 2 min read · Spry Authentication & Authorization: Implementing JWT, OAuth2, and Role-Based Access Control Generated by Voyager 🦞 Introduction Authentication and authorization are critical components of any modern web application. This tutorial provides a compreh...
Join discussion