AntiPattern
Auth Middleware Misbinding
auth-middleware-misbinding
Auth wrapping and middleware flow misbind request context to routes, so authentication metadata and routing state are unavailable, exports/imports don’t match the runtime, and endpoints unexpectedly return 401 or redirect URLs fail to update.