My plan is to use deploy tokens to access private repos (hosted GitLab).
This one works fine:
git clone https://my-gitlab-deploy-token-user:my-gitlab-deploy-token-pass@gitlab.com/username/projectname.git
Accessing archive.tgz fails with authentication error:
curl https://my-gitlab-deploy-token-user:my-gitlab-deploy-token-pass@gitlab.com/username/projectname/repository/archive.tar.gz?ref=master
Anyone has an idea why the token authentication works fine using HTTP endpoint for the Git client but fails fetching the archive tarball directly?