• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pomerium / pomerium / 29284199875
53%

Build:
DEFAULT BRANCH: main
Ran 13 Jul 2026 09:18PM UTC
Jobs 1
Files 706
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Jul 2026 08:53PM UTC coverage: 52.246% (+0.03%) from 52.219%
29284199875

push

github

web-flow
fix(config): use proxy protocol for internal communication (#6516)

## Summary
The `identity` and `access` token options for the bearer token format
use an HTTP endpoint on the authenticate service to verify the validity
of tokens. When `use_proxy_protocol` is enabled that endpoint expects
requests to use the protocol. Unfortunately the internal HTTP client we
were using to make those requests wasn't making them with the proxy
protocol so they were being rejected.

This PR updates the code to wrap the HTTP transport making the requests
so that they are framed with the proxy protocol when the option is
enabled.

Two tests are added for this, but we should also add an acceptance test,
which will be done in a subsequent PR.

## Related issues
-
[ENG-4226](https://linear.app/pomerium/issue/ENG-4226/idp-access-token-bearer-auth-fails-under-use-proxy-protocol-true-all)
- #6503 

## AI disclosure
No AI was used for this PR.

## Checklist

- [x] reference any related issues
- [x] updated unit tests
- [x] add appropriate label (`enhancement`, `bug`, `breaking`,
`dependencies`, `ci`)
- [x] disclosed AI usage (or wrote "none") per AI_POLICY.md
- [x] ready for review

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

29 of 43 new or added lines in 3 files covered. (67.44%)

11 existing lines in 4 files now uncovered.

37000 of 70819 relevant lines covered (52.25%)

461.02 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
57.89
57.89% internal/httputil/transport.go
4
52.58
2.05% config/config.go
1
72.16
0.0% config/http.go

Coverage Regressions

Lines Coverage ∆ File
5
78.63
0.0% pkg/storage/postgres/backend.go
3
87.62
0.0% config/config_source.go
2
88.52
-0.44% pkg/storage/postgres/postgres.go
1
75.41
0.0% pkg/storage/postgres/registry.go
Jobs
ID Job ID Ran Files Coverage
1 29284199875.1 13 Jul 2026 09:18PM UTC 706
52.25
GitHub Action Run
Source Files on build 29284199875
  • Tree
  • List 706
  • Changed 9
  • Source Changed 3
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29284199875
  • 03a181af on github
  • Prev Build on main (#29178062278)
  • Next Build on main (#29331034788)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc