DenverCoder1 / DenverCoder1/github-readme-streak-stats

Unable to authenticate github on AuthHelper.php line 132

Open
#890 1 comment 1 reaction 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
7.1k
Forks
1.8k
Avg merge
9d 6h
Merged PRs (30d)
2

Description

**Describe the bug**
During vercel deploy after the latest changes I faced the following error

In AuthHelper.php line 132:

Could not authenticate against github.com

**To Reproduce**
Fetch the latest changes of the repo that has occured for last couple of months.
Try to deploy it on vercel

**Expected behavior**
It should deploy it without any problem as I have already setup the TOKEN value with my github access token

**Possible Solution**

After I have set COMPOSER_AUTH environment variable with the following value on vercel,
{"github-oauth": {"github.com": "GITHUB_TOKEN"}}

the deployment worked.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.