Pattern

Cookie Scope Misalignment

cookie-scope-misalignment

Auth cookies fail to reach the intended frontend or cannot be read on the client because cookie domain, httpOnly access rules, and Next.js cookie APIs don’t align, breaking session/JWT propagation until domain and storage paths are corrected.