python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to make auth:sanctum work in web.php?
So my problem is that I installed Sanctum to my Laravel project and trying to use it on web routes in web.php. But when I logged in and trying to reach the location the site redirect me back to the ma...
daniel19
Votes: 0
Answers: 2
laravel sanctum, identify user from cookie
I'm new to larravel, and use laravel sanctum build an app, the session driver is cookie.
The laravel app is deployed behind caddy, I enabled caddy logs. The log format is json, I see that it contains ...

jolla
Votes: 0
Answers: 2
Laravel 9: Auth::user() / auth()->user() null after successfull login
I made a manual login system in a Laravel 9 API that it's works correctly, but when I try to use Auth::user() in another controller, I get it as null, but when I return the auth->user() to the Vue ...

Álvaro
Votes: 0
Answers: 2
Laravel sanctum API, retrieve the token for use in view components
Here is the context. I have two sites using the same domain.
The first using Laravel and view components The second is an "API", I use Laravel Sanctum. This API has a single user. Later, the...
Damien V
Votes: 0
Answers: 2