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

pomerium / pomerium / 42097469648
55%

Build:
DEFAULT BRANCH: main
Ran 05 Nov 2026 08:13PM UTC
Jobs 1
Files 732
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

05 Nov 2026 07:48PM UTC coverage: 53.943% (+0.01%) from 53.929%
42097469648

push

github

web-flow
breaking: strip authorization header (#6836)

## Summary

Pomerium no longer sends the caller's Pomerium credentials to the
upstream.

Before this change, Pomerium removed only some credential headers. A Lua
filter removed `X-Pomerium-Authorization` and `Authorization: Pomerium
<jwt>`. Pomerium sent these headers to the upstream without change:

- `Authorization: Bearer Pomerium-<jwt>`
- `Authorization: Bearer <token>` on routes where Pomerium authenticates
the caller from the bearer token (`bearer_token_format` is
`idp_access_token`, `idp_identity_token` or `jwt`)

Now the authorize service removes the caller's header in these cases:

| Header | Route |
|---|---|
| `X-Pomerium-Authorization: <jwt>` | all routes |
| `Authorization: Pomerium <jwt>` | all routes |
| `Authorization: Bearer Pomerium-<jwt>` | all routes |
| `Authorization: Bearer <token>` | all routes except passthrough
(`bearer_token_format` is `default` or not set |

Pomerium keeps the header in these cases:

- The route sets the same header (for example with
`set_request_headers`). The route value replaces the caller value.
- The request is internal to Pomerium. Pomerium's own handlers need the
token.
- `bearer_token_format` is `default` or not set (passthrough). The
`Authorization: Bearer <token>` header goes to the upstream as before.
`Authorization: Bearer Pomerium-<jwt>` is still removed.

The authorize service uses the same list of credential forms that the
session loader reads. This makes sure that Pomerium removes every form
it accepts. The `remove_pomerium_authorization` logic in
`clean-upstream.lua` is removed because the authorize service does this
now.

## Related issues

<!-- TODO -->

## User Explanation

**Breaking change.** Upstreams no longer receive the Pomerium
credentials that the caller sends. This applies to `Authorization:
Bearer Pomerium-<jwt>`. It also applies to `Authorization: Bearer
<token>` on routes with `bearer_token_format: idp_access_token`,
`idp_identity... (continued)

62 of 63 new or added lines in 5 files covered. (98.41%)

23 existing lines in 8 files now uncovered.

35721 of 66220 relevant lines covered (53.94%)

343.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
80.37
-0.18% authorize/grpc.go

Coverage Regressions

Lines Coverage ∆ File
6
88.95
-3.31% config/config_source.go
4
70.32
-0.63% internal/databroker/server_backend.go
4
93.28
-0.69% pkg/ssh/auth.go
4
74.93
-0.28% pkg/storage/postgres/backend.go
2
47.67
0.0% internal/databroker/server_clustered_follower.go
1
80.37
-0.18% authorize/grpc.go
1
88.43
0.0% pkg/health/systemd.go
1
73.21
0.0% pkg/storage/postgres/registry.go
Jobs
ID Job ID Ran Files Coverage
1 42097469648.1 05 Nov 2026 08:13PM UTC 732
53.94
GitHub Action Run
Source Files on build 42097469648
  • Tree
  • List 732
  • Changed 19
  • Source Changed 7
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42097469648
  • 4d23e988 on github
  • Prev Build on main (#41955753990)
  • Next Build on main (#42104113343)
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