Replies: 2 comments
-
Hi, This is linked to CSRF token : https://laravel.com/docs/11.x/csrf See : And the error 419 is coming from there : |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello again thank you for the answer, I found the solution in the Error Handling documentation. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Laravel community,
I'm working on a project using Laravel, Inertia (Vue 3), and Jetstream, and I've encountered some issues with session expiration.
For testing, I set
SESSION_LIFETIME
to 1 minute. After 1 minute, I’m redirected to the login page, but sometimes I receive a 419 error:If I wait for the session to expire on the login page and then try to log in, I get this error. The same issue occurs when I try to create a team.
Is this behavior expected? Do I need to handle this exception manually, or am I missing something?
I'm using the default Jetstream/Inertia template and have only added features in the Jetstream and Fortify configurations. Redis is set as the
SESSION_DRIVER
, but I experience the same error withdatabase
as well.Beta Was this translation helpful? Give feedback.
All reactions