# Composer HTTP Authentication: unhashable type: 'dict'

**URL:** https://discourse.roots.io/t/composer-http-authentication-unhashable-type-dict/25472
**Category:** trellis
**Tags:** deploys, ansible, trellis, sage10
**Created:** 2023-06-01T18:10:31Z
**Posts:** 10
**Showing post:** 2 of 10

## Post 2 by @strarsis — 2023-06-01T18:13:54Z

Just made a guide for this, including the correct configuration in Trellis:

e class='quote' data-post="1" data-topic="25436"\> 
 ![](https://discourse.roots.io/user_avatar/discourse.roots.io/strarsis/48/4543_2.png)
[Using the ACF Pro official install method with Bedrock/Trellis](https://discourse.roots.io/t/guide-using-the-acf-pro-official-install-method-with-bedrock-trellis/25436#acf-pro-site-specific-licenses-4) [bedrock](/c/bedrock/7)

> Bedrock For development, use an auth.json file in the Bedrock project folder – but it should not be committed to the repository, but rather added to .gitignore as it is a secret (the ACF PRO license), similar to the .env file. { "http-basic": { + "connect.advancedcustomfields.com": { + "username": "[ACF PRO license key]", + "password": "https://[domain.tld]" + } } } Use the ACF PRO license key as the username. The password should be the site host (…

In your posted configuration, there is a tab missing for the site (`mysite.com`), and tabs/spaces are significant in YAML.

---

_[View the full topic](https://discourse.roots.io/t/composer-http-authentication-unhashable-type-dict/25472)._
