FAQ

FAQ

choose category

"Invalid Credentials for 'https://...', aborting" when using composer

If you receive such error message when installing a package via composer you simply didn't define correct credentials to download the package.

Composer requires the same credentials you use to login to our website. You also can define an individual password for composer downloads in your personal profile.

If you use composer through the command line, you will be asked for your credentials. You will also be asked if you want to save them in your auth.json file in your COMPOSER_HOME folder. If you are not asked for a password but receive this error message you may need to update your credentials in the auth.json file manually. 

If you need to install the package in an interactive shell you need to define your credentials before in an auth.json file in your COMPOSER_HOME folder or beside your composer.json. For more details please see here.

If you are using an auth.json file the hostname and credentials are as following: 

{
    "http-basic": {
        "www.setasign.com": {
            "username": "[YOUR EMAIL ADDRESS OF YOUR ACCOUNT @ SETASIGN]",
            "password": "[YOUR LOGIN OR COMPOSER PASSWORD @ SETASIGN]"
        }
    }
}