Auth::user()->createToken('authToken')->accessToken; code example Example: laravel passport php artisan passport:install