1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
As I understand, Laravel CSRF "token" is stored in user session.
Where are you storing your session data? If this is files, you will need to change it to an external shared data store. This can be database, dynamodb, redis/memcache (Elasticache). It will allow all your instances access to session data.
As a workaround, you can enable ALB sticky sessions. However, it will have some impact on scalability as web requests are not evenly distributed across all your instances.
