Skip to content

[LiveComponent] CSRF token not valid after form submit #2527

Open
@redflo

Description

@redflo

I have a issue with live components and CSRF Tokens.
I have a form with some components and i use dynamic form builder, which works great. If i fill the form correctly and push submit (which is a live action), all works great.
If i do not fill the form correctly, i get validation errors on submit. All good until now. But when i enter data in this situation, and i tab out of a input field, i get a csrf error.

Using Symfony 7.2 and default csrf config.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions