---
title: "Discussion on \"Your Magento authentication keys are invalid\" | Hashnode"
description: "Discussion on \"Your Magento authentication keys are invalid\". When you are installing Magento from scratch using the composer method, it might be the case that it's not asking you Magento authentication public and private keys. In that case, you can simply use the below command from your terminal.\nphp composer...."
url: "https://hashnode.com/posts/your-magento-authentication-keys-are-invalid/62ab456e1a89c91850b1b1bf"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Your Magento authentication keys are invalid](https://roshanlal.hashnode.dev/your-magento-authentication-keys-are-invalid?utm_source=hashnode&utm_medium=feed)

When you are installing Magento from scratch using the composer method, it might be the case that it's not asking you Magento authentication public and private keys. In that case, you can simply use the below command from your terminal. php composer....

Jun 16, 2022 · 1 min read · roshanlal.hashnode.dev  
Read the article

-   [#magento-2](https://hashnode.com/tag/magento-2)
-   [#error](https://hashnode.com/tag/error)

## Written by

[Roshan Lal](https://hashnode.com/@roshanlal)

@roshanlal

  
[View profile](https://hashnode.com/@roshanlal)

PMP & Magento Certified

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
