Skip to content

Allow to provide basic auth to pull mirroring configuration via API

What does this MR do and why?

Contributes to #465311 (closed)

Problem

When pull mirroring is enabled for a project via the GitLab REST API and the remote repository is protected via basic auth, mirroring will fail if the provided username or password contain special characters such as @ or .

Solution

Allow to provide user and password details separately from import_url.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

Steps to reproduce

Edited by Vasilii Iakliushin

Merge request reports