Visitar URL original
docs: clarify HttpOnly cookie guidance by dajiaohuang Β· Pull Request #265 Β· alan2207/bulletproof-react Β· GitHub
Skip to content

docs: clarify HttpOnly cookie guidance - #265

Open
dajiaohuang wants to merge 1 commit into
alan2207:masterfrom
dajiaohuang:docs/clarify-httponly-cookie-guidance
Open

dajiaohuang wants to merge 1 commit into
alan2207:masterfrom
dajiaohuang:docs/clarify-httponly-cookie-guidance

Conversation

@dajiaohuang

Copy link
Copy Markdown

Summary

  • Clarify that browser JavaScript cannot set or read HttpOnly cookies and that real session cookies must be issued and verified server-side.
  • Explain that the React Vite MSW auth handler uses js-cookie as a test workaround, not as a production security pattern.
  • Replace overbroad token-storage guidance with the actual memory, browser-storage, and cookie tradeoffs.

Validation

  • git diff --check passed.
  • Documentation-only change; no application tests run.

@netlify

netlify Bot commented Oct 23, 2026

Copy link
Copy Markdown

❌ Deploy Preview for bulletproof-react-app failed.

Name Link
πŸ”¨ Latest commit c130401
πŸ” Latest deploy log https://app.netlify.com/projects/bulletproof-react-app/deploys/6adb7b7a5ff15e8036ce57ab

1 similar comment
@netlify

netlify Bot commented Oct 23, 2026

Copy link
Copy Markdown

❌ Deploy Preview for bulletproof-react-app failed.

Name Link
πŸ”¨ Latest commit c130401
πŸ” Latest deploy log https://app.netlify.com/projects/bulletproof-react-app/deploys/6adb7b7a5ff15e8036ce57ab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant