Pattern
Cookie Cross-Site Auth Breaks
cross-site-cookie-auth-blocking
Cross-site cookie attributes and server-only cookie APIs break authentication because browsers block or withhold cookies (e.g., SameSite=Lax) and frameworks like Next.js restrict setting cookies, causing missing Authorization headers, failed WebSocket upgrades, and redirect-based token loss.