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)
Laravel Sanctum with uuid column in User model doesn't save tokenable_id
I'm try to use Laravel 8.x and Laravel sanctum 2.14.2 to authenticate my API and UUIDs as the primary key for my User model.
My custom PersonalAccessToken model
use Illuminate\Database\Eloquent\Factor...

Ryo
Votes: 0
Answers: 2
How to obtain new access token without login laravel sanctum?
I made a login api using Laravel Sanctum for the front end, the token only expires for 15 minutes. If it expires, the front end user must log back in to get a new token. For reactjs developer, how do...

Ibrahim Ahmad
Votes: 0
Answers: 0
How get access token after autorization laravel sanctum?
Hello i'm newbie in laravel. I use for authorization sanctum. But i want that some request can available for authorization user (i use laravel for only api, on front i use angular 2).
web.php:
Route::...
данил куролесов
Votes: 0
Answers: 2
laravel Auth::login($user) always return 401 Unauthorized
I'm a newbie in laravel. I work with a simple blog with angular and laravel. I use Sanctum for authorization and registration.
This is my code AuthController:
<?php
namespace App\Http\Controllers;...
данил куролесов
Votes: 0
Answers: 1