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

pomerium / pomerium / 21924134758 / 1
44%
main: 44%

Build:
DEFAULT BRANCH: main
Ran 11 Feb 2026 09:54PM UTC
Files 667
Run time 24s
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

11 Feb 2026 09:41PM UTC coverage: 44.075% (+0.01%) from 44.061%
21924134758.1

push

github

web-flow
mcp: add UpstreamOAuthClient type and storage for DCR caching (#6107)

## Summary

Add per-instance caching of RFC 7591 Dynamic Client Registration (DCR)
results in the databroker. DCR registers an OAuth client *application*,
not a per-user credential — so Pomerium should register once per (AS
issuer, downstream host) pair and reuse the resulting
`client_id`/`client_secret` for all users.

- New `UpstreamOAuthClient` proto type with fields: issuer,
downstream_host, client_id, client_secret, redirect_uri,
registration_endpoint, created_at
- New `GetUpstreamOAuthClient` / `PutUpstreamOAuthClient` storage
methods keyed by `dcr|{issuer}|{downstream_host}`
- Validation that issuer and downstream_host are non-empty on put

## Related issues

- [ENG-3572: Cache DCR client registrations per-instance in
databroker](https://linear.app/pomerium/issue/ENG-3572/cache-dcr-client-registrations-per-instance-in-databroker)

## User Explanation

No user-facing changes. This is an internal storage addition for a
future feature (upstream MCP OAuth proxying).

## Checklist

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

32021 of 72651 relevant lines covered (44.08%)

117.85 hits per line

Source Files on job 21924134758.1
  • Tree
  • List 667
  • Changed 10
  • Source Changed 1
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21924134758
  • e001728a on github
  • Prev Job for on main (#21919446546.1)
  • Next Job for on main (#21924576857.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