Replies: 1 comment
-
Hello, please provide a reproducer to ease the investigations π |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello from Munich, i try to use the Security Bundle in a Symfony 7.2 application. It's a non-profit website for to count cars in munich which parking wrong. In my first step i developed it on my local ThinkPad T480 (Ubuntu 24, apache2). I create the SecurityController with symfony cli and that create tehe controller and the template with an csrf-token input. Every think runs ok, but than i put the application in a docker container (php8.2, nginx, MySql-Database). Here i always get the error message Invalide CSRF Token when i try to log in. For two weeks i tryed a lot of thinks to debug and find the reason why, but got no solution. I implement redis, but the error still happens and it's the first time in my life, that i couldn't find out what's going wrong.
I asked in stackoverflow, but got no answer, which helps me:
https://stackoverflow.com/questions/79575112/symfony-7-in-docker-container-dont-validate-csrf-token
Is here somebody, who can set me a light to find a solution.
And sorry for my bad english!!!
Beta Was this translation helpful? Give feedback.
All reactions