You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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