Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
47

Latest Updates

Documenting code, one commit at a time.

Navigating Expired Cookies: A Middleware Fix for estrella-tour's Authentication Flow

Working on the estrella-tour project, we recently tackled a subtle but critical user experience issue related to authentication. Users were finding themselves locked out of the very pages designed for access: /login and /register. This seemingly contradictory behavior stemmed from how our proxy and associated middleware handled expired session cookies.

The Situation

Fortifying Next.js: A Deep Dive into Enhanced Security and Middleware

In today's interconnected digital landscape, safeguarding web applications against threats is paramount. Even seemingly minor vulnerabilities can have significant repercussions. This post delves into a series of crucial security and privacy enhancements recently implemented in our estrella-tour Next.js application.

These updates focus on strengthening the application's defensive posture, from

Streamlining Next.js Request Handling: Resolving Middleware Conflicts

When developing with Next.js, managing how requests are processed is crucial for application performance and stability. The pedromarzano1/estrella-tour project recently encountered an issue related to conflicting middleware configurations, highlighting the importance of a clear and singular request handling strategy.

The Problem: Redundant Middleware

The estrella-tour project utilizes