Skip to content

JS app and CSRF: Guard may not be the best solution #88

Open
@Rebolon

Description

@Rebolon

I wrote the CSRFTokenAuthenticator just to add a csrf token check on all non GET route

But the guard also does the authentication whereas by default it's allready done by Json login security.

So in fact i need an event called only when on firewall security_json and on non GET call.
This event would only check token validity and would not take care the fact that it's on login route or not.

How to do this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions