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
CSRF token is invalid [Sonata Admin] #8015
Comments
Can you provide a repository that reproduces the problem? Or at least the steps you followed to get the error? Looks like a configuration problem on your side with the info you provided. |
I recently had the same issue. So u should check this config parameter against your posted values. |
Hi folks! I'm facing seemingly the same trouble after updating sonata-project/admin-bundle. versions of packages in my project is fixed to:
|
If it's related to a symfony update, you should report this to symfony instead. |
Hello,
I'm opening this issue because we have an issue with CSRF token in Sonata Admin (4.8.1).
We use Symfony (5.4) with PHP (7.3.33).
Currently we deactivate the csrf token to make work the Back Office but it's a temporary measure. We don't want to let the csrf deactivated but we don't know how to handle this issue.
I attach the screen of the issue.
Our config file is like this :
framework:
session:
storage_factory_id: session.storage.factory.native
handler_id: null
Let me know if you need more information
Thanks in advance for help
The text was updated successfully, but these errors were encountered: