Eliminating Database Lookups with Auth0 Custom Claims
How to enrich JWT tokens with user data during login, eliminating per-request database lookups while keeping your domain logic decoupled from your identity provider.
Independent Software Consultant
I help companies build, modernize, and ship software faster. Whether that means standing up a new cloud platform, evolving a legacy system, or accelerating a team that has hit a wall, I bring 20 years of hands-on engineering to get it done. If you need systems designed, problems untangled, or teams moving predictably, I can help.
I have been building cloud-native systems in Colorado since 2006. Before that, I studied digital art and telecommunications at University of Louisiana at Lafayette, which turned out to be an unconventional but useful path into software engineering. Twenty years later, I am still here, still building software, and still showing up every two weeks for the same tabletop RPG group I started with back then.
How to enrich JWT tokens with user data during login, eliminating per-request database lookups while keeping your domain logic decoupled from your identity provider.
HTTP already has error semantics. RFC 9457 Problem Details gives your error payloads a standard structure to match. Here's why it matters and how to implement it in ASP.NET Web API using middleware.