I\'m currently using 2 projects. 1 front end (with laravel backend to communicate with API) and another laravel project (the API).
Now I use Laravel Passport to auth
Hope help someone:
if (Auth::check()) { $request->user()->tokens->each(function ($token, $key) { $token->delete(); }); }
Good Luck.