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

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

Open
Rebolon opened this issue May 14, 2018 · 0 comments
Open

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

Rebolon opened this issue May 14, 2018 · 0 comments

Comments

@Rebolon
Copy link
Owner

Rebolon commented May 14, 2018

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 ?

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

1 participant