генерировать секретный ключ JWT
node -e "console.log(require('crypto').randomBytes(256).toString('base64'));"
Curious Cardinal
node -e "console.log(require('crypto').randomBytes(256).toString('base64'));"
php artisan jwt:secret
'providers' => [
...
Tymon\JWTAuth\Providers\LaravelServiceProvider::class,
]