Yad asked this 1 year ago

Magento open source installation error - Invalid credentials

I am trying to install Magento Open source using composer on a Windows machine. The command I run is

php composer.phar create-project --repository-url=https://repo.magento.com/ magento/project-community-edition .\magdemo

This shows a warning message "Warning from repo.magento.com: You haven't provided your Magento authentication keys." and then prompts for username and password.

I provided the MAGEID for username and private key for password. This gives me error

Warning from repo.magento.com: Your Magento authentication keys are invalid. Please double-check your keys in your Marketplace account.


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

Please help.

Best Answer by guruprakash 1 year ago
Use Public token as username and Private key as password.