AUTH GUARD API tidak didefinisikan Laravel 8
open config/auth.php
add this to guards Section
'api' => [
'driver' => 'token',
'provider' => 'users',
],
EminemTheProgrammer