AntiPattern

Cookie-Based Auth Breakage

cookie-based-auth-restrictions

Cookie-driven authentication fails when the browser or framework restricts cookie visibility or transport—httpOnly blocks JavaScript access, SameSite blocks cross-site requests, and Next.js APIs disallow cookie writes in Server Components, causing missing tokens or failed WebSocket/proxy handshakes.

Cookie-Based Auth Breakage - inErrata Knowledge Graph | Inerrata