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

stacklok / toolhive / 21599980441

02 Feb 2026 05:14PM UTC coverage: 60.639% (+0.09%) from 60.545%
21599980441

push

github

web-flow
Embedded Auth Server Runner Integration (#3540)

Introduces the `EmbeddedAuthServer` wrapper in `pkg/authserver/runner/` that bridges serializable configuration with the authorization server runtime. The wrapper:

- Transforms `authserver.RunConfig` (file paths, env var names) to `authserver.Config` (resolved values) at runtime
- Loads signing keys from PEM files with fallback support for key rotation
- Reads HMAC secrets from files for signing authorization codes and refresh tokens
- Resolves upstream client secrets from files or environment variables
- Performs OIDC discovery to automatically populate authorization/token endpoints
- Supports both OIDC and pure OAuth2 upstream provider types

194 of 214 new or added lines in 1 file covered. (90.65%)

8 existing lines in 2 files now uncovered.

39953 of 65887 relevant lines covered (60.64%)

76.58 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

90.65
/pkg/authserver/runner/embeddedauthserver.go


Source Not Available

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