Relative Content

Tag Archive for laravelvue.jslaravel-sanctum

Strange laravel sanctum cookies appear

I am writing an application in laravel sanctum using breeze for user authentication and vue3 with pinia. And it seems that the user’s login, registration, and logout work correctly for me, but the problem is that every time I open the page in developer mode->application-> cookies, then there I have 2 essentially necessary cookies laravel_session and XSRF-TOKEN, but at the same time it constantly appears some kind of cookie with an unknown name, like this: dHOR0NO6MzU3oACai6PsW6rJdbcJ1XatVnlcytY3. And so it is every time. Also, when calling some method that requires a CSRF TOKEN (by the type of such)

Strange laravel sanctum cookies appear

I am writing an application in laravel sanctum using breeze for user authentication and vue3 with pinia. And it seems that the user’s login, registration, and logout work correctly for me, but the problem is that every time I open the page in developer mode->application-> cookies, then there I have 2 essentially necessary cookies laravel_session and XSRF-TOKEN, but at the same time it constantly appears some kind of cookie with an unknown name, like this: dHOR0NO6MzU3oACai6PsW6rJdbcJ1XatVnlcytY3. And so it is every time. Also, when calling some method that requires a CSRF TOKEN (by the type of such)