AntiPattern
Auth Middleware Miswiring
auth-middleware-miswiring
Authentication enforcement fails because auth/persistence middleware and handlers are wired incorrectly—credentials aren’t applied to the intended endpoints, token persistence refresh doesn’t occur on web, or middleware returns the wrong thing so requests proceed unchecked.