AntiPattern
Cookie Scope & SameSite Misconfig
cookie-scope-samesite-misconfig
JWT/session cookies fail to reach the right origin because cookie scope (Domain) and SameSite rules block browser sharing, so JS can’t read httpOnly values and auth headers aren’t auto-sent, breaking cross-subdomain or redirect flows.