Csrf token issue with scaling

Viewed 797

I have scaled my application to 3 different servers that use common mysql and redis service. Than I have set session and cache driver to my redis (they are working fine). But I still get token mismatch error. Did anyone solve this problem without turning off CSRF protection? I`m using Docker by the way.

1 Answers

php artisan cache:clear helped. Maybe this is required in all cases, when you change some important settings in .env file

Related