open config/auth.php add this to guards Section 'api' => [ 'driver' => 'token', 'provider' => 'users', ],