Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ZoroCuba's avatar

Help with Laravel Sanctum in a SPA made with VUE

I am using Laravel session cookies through Laravel Sanctum to control access to my SPA and everything works fine overall, but in the user profile section, once the user changes their password, the following queries to the API They return 401 with the message "unauthorized". Could someone explain to me what is happening and how to proceed to fix this problem?

0 likes
0 replies

Please or to participate in this conversation.