Relative Content

Tag Archive for apivuejs3laravel-sanctumlaravel-11

laravel 11 sanctum and vue 3 – 401 Unauthorized error

I am new to vue 3 and laravel sanctum. For one project I use laravel 11 sanctum for APIs and in another project I use vue 3 which uses that for clients. When logging in everything works fine except when I want to get the user info then it gives an error message.