cloudflare / cloudflare/cloudflared

Git LFS doesn't work due to access error

Open
#86 1 comment 0 reactions 1 assignee Claimed by @acmacalister View on GitHub
Confirmed
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

We use cloudflare access with git over ssh which works great.
However when we use Git LFS which pushes binary files over HTTPS we get access error as Cloudflare Access will push the request to the login page.

Is there a way to get cloudflared to insert a token in the request to prevent the login page to appear?

```
13:51:58.895517 trace git-lfs: HTTP: 302
13:51:58.895628 trace git-lfs: api: redirect POST https://git.source.com/group/repo.git/info/lfs/locks/verify to https://group.cloudflareaccess.com/cdn-cgi/access/login/git.source.com
```

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.