I have no issue to clone from my local machine of the private repository, however, when I want to download the file via composer it asks me to create an auth.json file (I don't want this and I don't want to use a token).
Do you have an idea why this happens?
composer.json
"require": {
..
"myname/my-app": "*",
..
},
"repositories": [
{
"type": "vcs",
"url": "git@gitlab.com:myname/my-app.git",
},
]
I tried to add "no-api": true, I tried to set dev-master but failed. To test it out, I created a repository to BitBucket and with that I have no problems installing it.
My error is:
Loading composer repositories with package information
Failed to download myname/my-app:The "https://gitlab.com/api/v4/projects/myname%2Fmy-app" file could not be downloaded (HTTP/1.1 404 Not Found)
Your credentials are required to fetch private repository metadata (git@gitlab.myname/my-app.git)
A token will be created and stored in "/Users/myname/.composer/auth.json", your password will never be stored
To revoke access to this token you can visit gitlab.com/profile/applications