tokenManager->getUserFromPlainTextToken($request->api_token), Response::HTTP_UNAUTHORIZED ); $url = $this->iTunesService->getTrackUrl($request->q, $album->name, $album->artist->name); abort_unless((bool) $url, 404, "Koel can't find such a song on iTunes Store."); return redirect($url); } }