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

pomerium / pomerium / 20972511756
46%

Build:
DEFAULT BRANCH: main
Ran 13 Jan 2026 09:10PM UTC
Jobs 1
Files 605
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 Jan 2026 09:03PM UTC coverage: 52.809% (+0.01%) from 52.799%
20972511756

push

github

web-flow
oidc/hosted: authenticate refresh request (#6045)

Update the 'hosted' OIDC provider to support the same client
authentication on a Refresh() request as on an initial Authenticate()
request.

(So far, we haven't needed this because hosted-authenticate did not
support refresh requests. Now that we are adding support, we need to
make sure the client supports the same authentication mechanism.)

Unfortunately, the underlying oauth2 package doesn't seem to provide
any easy way to modify the refresh request, so I think the simplest
workaround is to fork some of the request logic (this is in the new
request.go file).

Also extract the oidc.Provider.verifyIDToken() method into a separate
internal package pkg/identity/oidc/internal so that it can be shared
between oidc.Provider and hosted.Provider without becoming part of the
public API--it's just slightly different than the VerifyIdentityToken()
method from the Authenticator interface, and I feel it would be too
confusing to have both.

63 of 97 new or added lines in 4 files covered. (64.95%)

21 existing lines in 5 files now uncovered.

29857 of 56538 relevant lines covered (52.81%)

126.06 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
81.53
-2.07% pkg/identity/oidc/hosted/hosted.go
13
75.0
pkg/identity/oidc/hosted/request.go
13
0.0
pkg/identity/oidc/internal/idtoken.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
75.41
0.0% pkg/storage/postgres/registry.go
2
92.78
-1.11% internal/fileutil/watcher.go
4
85.78
-1.96% config/config_source.go
5
65.29
-0.73% internal/databroker/server_clustered_follower.go
9
87.23
0.0% pkg/ssh/manager.go
Jobs
ID Job ID Ran Files Coverage
1 20972511756.1 13 Jan 2026 09:10PM UTC 605
52.81
GitHub Action Run
Source Files on build 20972511756
  • Tree
  • List 605
  • Changed 10
  • Source Changed 2
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20972511756
  • f2e7e605 on github
  • Prev Build on main (#20934951943)
  • Next Build on main (#20973891462)
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