-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
This might not be a problem a lot of people will hit but should be fixed to avoid confusion. Background: We recently migrated from a pure git+https setup to Gitlab. During that migration I wanted to let Satis use the GitlabDriver to improve the overall performance.
In my auth.json file I had the old HTTP Basic Auth credentials for the gitlab host (because we did not change the hostname during the migration) which after the migration did not work any more. on the first run Composer was able to ask me for the Gitlab OAuth Token and add it to the global auth.json file without a problem. But when running Composer a second time the Gitlab OAuth Token was not recognized and Composer asked me again for the Gitlab credentials.
When removing the HTTP Basic Auth credentials Composer is running fine. I was not yet able to debug the issue in the code, so I am not sure if this is a general problem or just an issue with the GitlabDriver.