Apr 13, 2024
0
Level 3
Laravel Sanctum login issue
Hi,
I have a Laravel project where I am using sanctum for authenticating my SPA application. During laravel 10 it worked fine, but after update to laravel 11, I am facing some strange issues. Whenever I logout and login again with different account, I need to refresh the page and then only I am able to login. However, it worked fine in laravel 10.
I also checked the documentation for any changes required for sanctum but couldn't find any.
Have anyone else faced similar issues?
Please or to participate in this conversation.