protected function generateJWTKey() { $this->info('Generating JWT key'); $this->line(''); //$this->call('jwt:generate'); This does not update .ENV so do it manually for now return str_random(32); }