diff --git a/src/Service/PackageSynchronizer/ComposerPackageSynchronizer.php b/src/Service/PackageSynchronizer/ComposerPackageSynchronizer.php index 62ba62a3..e41e4b03 100644 --- a/src/Service/PackageSynchronizer/ComposerPackageSynchronizer.php +++ b/src/Service/PackageSynchronizer/ComposerPackageSynchronizer.php @@ -140,6 +140,13 @@ private function createConfig(Package $package, IOInterface $io): Config ], ], ]); + if ($package->type() === 'gitlab-oauth') { + $config->merge([ + 'config' => [ + 'gitlab-domains' => [(string)parse_url($this->gitlabUrl, PHP_URL_HOST)], + ], + ]); + } return $config; }