middleware('auth'); } public function redirectToProvider() { if(!Auth::check()) { return redirect()->to('/'); } return Socialite::driver('eveonline')->setScopes(['publicData', 'esi-wallet.read_corporation_wallets.v1'])->redirect(); } public function displayWallet() { $esi = new \App\Library\Finances(); //Get the Journal Entries and just return them $journals = $esi->GetMasterWalletJournal(); $journals = json_decode($journals->raw, true); dd($journals); return $journals; } }