diff --git a/src/Composer/Util/GitHub.php b/src/Composer/Util/GitHub.php index 41fe63740..6794dd507 100644 --- a/src/Composer/Util/GitHub.php +++ b/src/Composer/Util/GitHub.php @@ -108,6 +108,7 @@ class GitHub } $contents = JsonFile::parseJson($this->remoteFilesystem->getContents($originUrl, 'https://'. $apiUrl . '/authorizations', false, array( + 'retry-auth-failure' => false, 'http' => array( 'method' => 'POST', 'follow_location' => false,