Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add csrf helpers #771

Open
huseeiin opened this issue Mar 11, 2025 · 1 comment
Open

add csrf helpers #771

huseeiin opened this issue Mar 11, 2025 · 1 comment

Comments

@huseeiin
Copy link

Describe The Problem To Be Solved

its highly important to add csrf protection to forms and any mutation http verb (like POST, UPDATE, DELETE, etc.) in solid.js case, server functions.

Suggest A Solution

i think it'd be cool to add csrf generate and verify functions similar to Bun.CSRF: https://x.com/jarredsumner/status/1899194018480988259

@atk
Copy link
Member

atk commented Mar 11, 2025

That's a pretty great idea. Thanks!

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

No branches or pull requests

2 participants