Topic: auth.json data is ignored

Composer from "composer-1.6.3-1.fc27.remi.noarch" ignores auth.json file and asks for repo password.

1.6.3 from official phar works

Reproducible for both ~/.config/composer/auth.json and project's auth.json

composer install -vvv shows that both files are read but login/pass are still not injected into the repo urls

I'm using http-basic on some private repos

Re: auth.json data is ignored

Hmm... don't know how to reproduce this....

Desktop: Fedora 27 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70

Re: auth.json data is ignored

You can create a private repo in bitbucket or gitlab (in my case it was a private instance of gitlab), put some package there and add it as a repo

something like this:

{
    "repositories": [
        {
            "url": "https://gitlab.com/my-username/my-package",
            "type": "git"
        }
    ],
    "require": {
        "my-username/my-package": "dev-master"
    }
}

my-username/my-package should be in a private repo. then put your login/pwd to auth.json and try to composer update

Re: auth.json data is ignored

Thanks,

I will have a look later (after week-end offline)

Desktop: Fedora 27 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70