Browser Silently Drops Set-Cookie on Cross-Origin Fetch
Fetch omitted `credentials: "include"` or cookie lacked `SameSite=None; Secure`.
Runs locally in browser
Free · No login
Independently Verified 2026-11-25
v4.1.0
Identifier: Browser Silently Drops Set-Cookie on Cross-Origin Fetch
Platform: HTTP
Common Root Causes:
- Fetch omitted `credentials: "include"` or cookie lacked `SameSite=None; Secure`.
Interactive Diagnostic Checklist
Verified Solutions:
- Set `SameSite=None; Secure; HttpOnly` for cross-site cookies or co-host API under same origin.
Safe Diagnostic Command:
Inspect DevTools Network -> Response Headers warnings
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.
Technical Explanation
Fetch omitted `credentials: "include"` or cookie lacked `SameSite=None; Secure`. Recommended diagnostic: `Inspect DevTools Network -> Response Headers warnings`. Remediation: Set `SameSite=None; Secure; HttpOnly` for cross-site cookies or co-host API under same origin.
Worked Examples
- Run `Inspect DevTools Network -> Response Headers warnings` to verify root cause before applying the remediation.
Limitations & Assumptions
- Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.
Source References & Verification
Resource ID: err-http-cookie-not-saved-cross-site · Independently verified: 2026-11-25