Hola,
Estoy intentando installar un modulo por composar y me da este error.
Solved! Go to Solution.
Inside the Magento project directory execute the following Composer command:
$ composer config http-basic.repo.magento.com <public_key> <private_key>
Just replace the placeholders with the actual values (public_key will become the username and private_key the password in HTTP authentication with repo.magento.com).
The auth settings can be tested by using fetching latest version with a faked update:
$ composer update --dry-run
This will give an error message like:
Invalid credentials for 'https://repo.magento.com/packages.json', aborting.
if something is wrong with the credentials.
I can strongly suggest to manage credentials inside the project folder as my answer suggests. I also would not edit the auth.json by hand but just with the composer command as it is less error-prone.
Hola @iria_guere,
Use su clave pública como nombre de usuario y clave privada como contraseña de su cuenta de magento connect
Puede encontrar la clave pública y privada en:
https://developer.magento.com/customer/account/
Portal del desarrollador -> Mis claves de acceso -> Crear una nueva clave de acceso (o usar la clave existente)
Enlace de referencia: https://devdocs.magento.com/guides/v2.0/install-gde/prereq/connect-auth.html
-
Si mi respuesta es útil, por favor acepte como solución y dé Kudos
If my answer is useful, please Accept as Solution & give Kudos
Hola,
Las credenciales estan correctamente puestas en el composer/load pero me sigue fallando las credenciales.
Hello @iria_guere
You can followed the instructions at http://devdocs.magento.com/guides/v2.0/install-gde/prereq/connect-auth.html to get a public and private key, then pasted the public key into the username and the private key in as the password?
If this does not work, I suggest having a read of the composer documentation to create an auth.json file and pasting the keys indirectly. See https://getcomposer.org/doc/articles/http-basic-authentication.md for suggestions
These steps I have already done, I have also cleaned cache and it still does not work
Inside the Magento project directory execute the following Composer command:
$ composer config http-basic.repo.magento.com <public_key> <private_key>
Just replace the placeholders with the actual values (public_key will become the username and private_key the password in HTTP authentication with repo.magento.com).
The auth settings can be tested by using fetching latest version with a faked update:
$ composer update --dry-run
This will give an error message like:
Invalid credentials for 'https://repo.magento.com/packages.json', aborting.
if something is wrong with the credentials.
I can strongly suggest to manage credentials inside the project folder as my answer suggests. I also would not edit the auth.json by hand but just with the composer command as it is less error-prone.