Skip to content

add csrf helpers #771

@huseeiin

Description

@huseeiin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions