419 | Page Expired (CSRF token expired) #9982
Unanswered
stephenmeehanuk
asked this question in
Troubleshooting
Replies: 1 comment 8 replies
-
I've moved this into a discussion since it's likely a configuration issue, rather than a bug in Statamic itself. Can you try switching the session driver to |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug description
When I try to login using Chrome, I see a
419 | Page Expired
page. If I press back, I'm logged in?On my staging site (https) I'm using
STATAMIC_STATIC_CACHING_STRATEGY=half
.Someone in Discord suggested using
SESSION_SECURE_COOKIE=true
which I've done.I've cleared the browser cache, and done a hard reload.
But it keeps on showing a 419 | Page Expired message.
It also happens on local (valet) http site. Not using
SESSION_SECURE_COOKIE=true
locally.How to reproduce
I think the issue is local to my browser,
as it's not a problem when using incognito mode or Edge. It's happening in all browsers and in incognito mode in Chrome.Just wondering why this would be happening?
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
Runtime (default)
Additional details
No response
Beta Was this translation helpful? Give feedback.
All reactions