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

stacklok / toolhive / 21634646725
61%

Build:
DEFAULT BRANCH: main
Ran 03 Feb 2026 02:49PM UTC
Jobs 1
Files 488
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

03 Feb 2026 02:32PM UTC coverage: 60.62% (+0.03%) from 60.587%
21634646725

push

github

web-flow
Add OIDC provider upstream support to authserver (#3562)

Implements OIDC provider support for upstream identity providers like
Google, Microsoft/Entra, Okta, and Auth0.

Benefits for users:

1. Simpler configuration - just specify the issuer URL instead of
   individual endpoints:

```
   # Before (OAuth2 - must look up each endpoint URL):
   upstream:
     type: oauth2
     client_id: "..."
     authorization_endpoint: "https://accounts.google.com/o/oauth2/v2/auth"
     token_endpoint: "https://oauth2.googleapis.com/token"
     userinfo_endpoint: "https://openidconnect.googleapis.com/v1/userinfo"

   # After (OIDC - endpoints auto-discovered):
   upstream:
     type: oidc
     client_id: "..."
     issuer: "https://accounts.google.com"
```

2. Cryptographic identity verification - ID tokens are signed JWTs
   validated locally, no extra network call to UserInfo endpoint.

3. Replay attack protection via nonce validation.

Implementation uses go-oidc library for discovery and delegates issuer
validation to it. Additional security checks validate HTTPS enforcement
for non-localhost endpoints and required field presence. ID token
validation is stubbed for a follow-up PR.

151 of 172 new or added lines in 1 file covered. (87.79%)

35 existing lines in 4 files now uncovered.

40028 of 66031 relevant lines covered (60.62%)

75.29 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
21
87.79
pkg/authserver/upstream/oidc.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
53.8
-0.19% pkg/workloads/manager.go
8
25.0
-4.44% pkg/client/manager.go
11
68.42
-14.47% pkg/client/discovery.go
14
70.92
-7.14% pkg/client/config.go
Jobs
ID Job ID Ran Files Coverage
1 21634646725.1 03 Feb 2026 02:49PM UTC 488
60.62
GitHub Action Run
Source Files on build 21634646725
  • Tree
  • List 488
  • Changed 8
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21634646725
  • a73bf3d4 on github
  • Prev Build on main (#21634334746)
  • Next Build on main (#21636630280)
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