2

I run composer update from root and I get:

Loading composer repositories with package information
    Authentication required (repo.magento.com):   

I enter my credentials that I use to login here: https://www.magentocommerce.com/magento-connect/customer/account/

and the same ones that I used to install magento in the first place, but I get this error:

 [Composer\Downloader\TransportException]                                     
  Invalid credentials for 'https://repo.magento.com/packages.json', aborting. 

What sort of credentials do I need to input? Thanks!

Claudiu Creanga
  • 6,247
  • 2
  • 49
  • 88

2 Answers2

7

From DevDocs:

You get your credentials by logging in to Magento Connect with a user name and password, then going to My Account > Developers > Secure Keys. There, you can generate, regenerate, or delete your authentication tokens to use to:

Download the Magento software using Composer

Install, update, or upgrade third-party components; and upgrade the Magento software using the Component Manager and System Upgrade utilities.

mbalparda
  • 7,363
  • 3
  • 23
  • 46
  • 1
    But how to use it? Where to enter the secure key? – Detzler Nov 30 '15 at 10:50
  • 3
    @Detzler you've to generate the keys (by following the above process). and then Use tokens of Public Key as username and Private key as password. It'll then ask to store the credentials, enter 'y' and it'll start updating. I've just tried this and its working. – R T Jan 27 '16 at 06:04
-2

Please follow instructions posted here

Maddy
  • 1,566
  • 10
  • 14
  • Thank you for contributing. However, a link-only answer is not the best answer. Links tend to die so please copy the relevant section from the link as a quotation and cite your source. For more reading on why this is read this: http://stackoverflow.com/help/how-to-answer then read this: http://meta.stackexchange.com/a/7519/157698 – philwinkle Nov 20 '15 at 19:20
  • thanks, but remember what happened to the old magento forum and now there are thousands of 404s in this site. – Claudiu Creanga Nov 20 '15 at 21:25