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

pomerium / pomerium / 24800708842 / 1
46%
main: 46%

Build:
DEFAULT BRANCH: main
Ran 22 Apr 2026 08:37PM UTC
Files 697
Run time 20s
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

22 Apr 2026 08:22PM UTC coverage: 45.753% (+0.07%) from 45.684%
24800708842.1

push

github

web-flow
pomerium/authorize: disable redirect when session passed in header or query string (#6289)

## Summary
During authorization an invalid session (expired, invalid or doesn't
exist) will result in a redirect to the authenticate service. However
sometimes this redirect should not happen: for gRPC/gRPC-web calls, json
requests, MCP requests, etc...

Add two more cases for when we should prevent the redirect:

- If the pomerium session/service account is found as an HTTP header
- If the pomerium session/service account is found as an HTTP request
URL query string parameter

In these cases initiating an interactive login doesn't make sense
because headers/query string parameters indicates that the user isn't
using cookies for authentication.

## Related issues
-
[ENG-3156](https://linear.app/pomerium/issue/ENG-3156/core-invalid-or-missing-service-accounts-should-result-in-forbidden)


## Checklist

- [x] reference any related issues
- [x] updated unit tests
- [ ] add appropriate label (`enhancement`, `bug`, `breaking`,
`dependencies`, `ci`)
- [x] ready for review

35644 of 77906 relevant lines covered (45.75%)

115.54 hits per line

Source Files on job 24800708842.1
  • Tree
  • List 697
  • Changed 15
  • Source Changed 6
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24800708842
  • aee437b1 on github
  • Prev Job for on main (#24740199847.1)
  • Next Job for on main (#24848687171.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc