AntiPattern
Route/Auth/Header Miswiring
route-auth-header-miswiring
Requests fail because routing, auth middleware, and trust-header configuration disagree—Origin/CSRF checks, trusted domains, and URL patterns don’t align—leading to 401/CSRF rejections, redirect loops, or unmatched routes in staging deployments.