I have created Access key on my magento account. So I got Public Key and Private key. I have put them in auth.json in magento2 root directory but while I run composer install, I am getting this error.
Invalid credentials for 'https://repo.magento.com/archives/bsscommerce/disable-compare/bsscommerce-disable-compare-126.96.36.199.zip', aborting.
This issue is due to the authentication keys. Check that keys you entered are correct and are saved to your file.
Or remove keys and then try once. It will ask you for the keys in CLI and enter your authentication keys. Your public key is your username; your private key is your password.
Here is the guide to get the authentication keys.
If my answer is useful, please Accept as Solution & give Kudos.
Thank you for your reply.
I have attached my credentials. It looks like I am using the correct one.
Can you please have a look?
Y eso es para instalarlo xD, la clave pública es el usuario y la privada la contraseña.