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

stacklok / toolhive / 21969383186
62%

Build:
DEFAULT BRANCH: main
Ran 13 Feb 2026 12:21AM UTC
Jobs 1
Files 531
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 Feb 2026 12:12AM UTC coverage: 61.995% (+0.05%) from 61.942%
21969383186

push

github

web-flow
Add offline_access to default scopes and fix PRM scope discovery (#3794)

MCP clients like VS Code resolve OAuth scopes from the Protected
Resource Metadata (RFC 9728) scopes_supported field. When no explicit
scopes were configured, the PRM handler defaulted to ["openid"],
causing clients to never request offline_access and therefore never
receive refresh tokens.

Separate the PRM and auth server default scopes. Per RFC 9728,
PRM scopes_supported describes what the resource server needs (minimal:
["openid"]), while auth server scopes describe what the AS supports
(["openid", "profile", "email", "offline_access"]). These are distinct
concerns that should not share a single constant.

When the embedded auth server is configured, the config builder now
propagates the AS's ScopesSupported to the PRM so clients discover the
full set of supported scopes including offline_access. When using an
external OIDC provider without explicit scopes, the PRM safely defaults
to ["openid"].

Add integration tests verifying refresh token issuance with
offline_access and its absence without it.

Fixes: #3776

14 of 14 new or added lines in 1 file covered. (100.0%)

44124 of 71174 relevant lines covered (61.99%)

76.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21969383186.1 13 Feb 2026 12:21AM UTC 531
61.99
GitHub Action Run
Source Files on build 21969383186
  • Tree
  • List 531
  • Changed 8
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21969383186
  • d06891df on github
  • Prev Build on main (#21969370176)
  • Next Build on main (#21969389506)
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