dystcz / nuxt-sanctum-auth

Nuxt 3 + laravel sanctum authentication
135 stars 25 forks source link

Can't get user data after signin - 401 #5

Closed anton-reviakin closed 1 year ago

anton-reviakin commented 1 year ago

In local storage not exists token and request without any auth token

kreejzak commented 1 year ago

Hello, could you please provide some more context? A bit of code where you are trying to sign in or get the user afterwards? Are both, your nuxt application and laravel backend running on localhost? Is localhost:3000 in SANCTUM_STATEFUL_DOMAINS in your laravel .env?

Please let me know and I will try to help you resolve your issue.

kreejzak commented 1 year ago

Hello, @anton-reviakin, is this isssue still relevant? If so, could you please provide some additional information? Thanks

kreejzak commented 1 year ago

Closing for inactivity