cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

SOLVED

Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

We are having trouble installing Magento with composer.

 

Upon running the following command

 

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition /home/site/www/magento

 

It throws the following error when attempting to login using the username (public key) and password (private key).

 

Warning from repo.magento.com: Your Magento authentication keys are invalid. Please double-check your keys in your Marketplace account. For instructions, visit https://devdocs.magento.com/guides/v2.3/install-gde/prereq/connect-auth.html

In AuthHelper.php line 198: Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

 

The private key must be downloaded as a long PGP key but the repo will not accept the key as provided.

 

How are we supposed to login to the repo to install..?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

We've attempted to create new access key in the marketplace about a dozen times but it does not generate. Nothing happens. What an unnecessary headache this terrible software is. You have to create all these accounts so that Adobe can stalk you and you have to use these unconventional methods to install the software and you can't git clone unless you're a contributing developer. No thanks SMH. We've been using open-source PHP software for decades and never have we had to jump through so many hoops or have encountered such difficulties just to install some PHP software. It's pure insanity. This project is some crazy Adobe BS. No thanks.

View solution in original post

3 REPLIES 3

Re: Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

We've attempted to create new access key in the marketplace about a dozen times but it does not generate. Nothing happens. What an unnecessary headache this terrible software is. You have to create all these accounts so that Adobe can stalk you and you have to use these unconventional methods to install the software and you can't git clone unless you're a contributing developer. No thanks SMH. We've been using open-source PHP software for decades and never have we had to jump through so many hoops or have encountered such difficulties just to install some PHP software. It's pure insanity. This project is some crazy Adobe BS. No thanks.

Re: Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

I agree.

Re: Invalid credentials for 'https://repo.magento.com/packages.json', aborting.

I could not agree more.  I am trying to do the same and am astounded at the complexity of what I am having to go through.  I've been in the business for close to 50 years and not at all happy with the unnecessary hoops I'm having to jump through.