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

stacklok / toolhive / 21841918310
62%

Build:
DEFAULT BRANCH: main
Ran 09 Feb 2026 09:53PM UTC
Jobs 1
Files 519
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

09 Feb 2026 09:44PM UTC coverage: 61.409% (+0.06%) from 61.348%
21841918310

push

github

web-flow
Enable OIDC provider support in the embedded auth server (#3720)

Previously, the embedded auth server converted all upstream configs to
OAuth2Config, which meant OIDCProviderImpl was never instantiated even
when the upstream was configured as type "oidc". This caused OIDC
features like ID token validation and automatic discovery to be silently
skipped.

Refactor UpstreamConfig to carry an explicit provider type ("oidc" or
"oauth2") with separate OIDCConfig and OAuth2Config fields. The upstream
factory now dispatches on type, creating OIDCProviderImpl (with OIDC
discovery and ID token validation) for OIDC upstreams and
BaseOAuth2Provider for OAuth2 upstreams. Config validation enforces
mutual exclusivity between the two config fields.

Tested end-to-end with Google as the OIDC upstream:

```yaml
    upstreamProviders:
      - name: google
        type: oidc
        oidcConfig:
          issuerUrl: "https://accounts.google.com"
          clientId: "<google-client-id>"
          clientSecretRef:
            name: google-oauth-secret
            key: client-secret
          redirectUri: "https://example.com/oauth/callback"
          scopes:
            - openid
            - email
```yaml

Fixes: https://github.com/stacklok/stacklok-epics/issues/235

69 of 75 new or added lines in 3 files covered. (92.0%)

8 existing lines in 2 files now uncovered.

42427 of 69089 relevant lines covered (61.41%)

76.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
90.98
-1.21% pkg/authserver/server_impl.go
4
92.75
-0.63% pkg/authserver/config.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
53.86
-0.2% pkg/workloads/manager.go
6
75.47
-5.66% pkg/secrets/keyring/keyctl_linux.go
Jobs
ID Job ID Ran Files Coverage
1 21841918310.1 09 Feb 2026 09:53PM UTC 519
61.41
GitHub Action Run
Source Files on build 21841918310
  • Tree
  • List 519
  • Changed 9
  • Source Changed 3
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21841918310
  • 9630ae37 on github
  • Prev Build on main (#21836742205)
  • Next Build on main (#21856919121)
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