# Composer failing due to incorrect GitHub fingerprint

**URL:** https://discourse.roots.io/t/composer-failing-due-to-incorrect-github-fingerprint/21735
**Category:** trellis
**Tags:** trellis
**Created:** 2021-11-20T18:45:17Z
**Posts:** 8
**Showing post:** 7 of 8

## Post 7 by @alwaysblank — 2021-11-21T08:07:43Z

You can configure Trellis to generate an `auth.json` for you on deploy, see [Gitlab private repo as composer package - #13 by alwaysblank](https://discourse.roots.io/t/gitlab-private-repo-as-composer-package/20592/13) Composer will check this file for a GitHub oauth token, which should do the trick: [Authentication for privately hosted packages and repositories - Composer](https://getcomposer.org/doc/articles/authentication-for-private-packages.md#global-authentication-credentials)

---

_[View the full topic](https://discourse.roots.io/t/composer-failing-due-to-incorrect-github-fingerprint/21735)._
