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

stacklok / toolhive / 44789900948
75%

Build:
DEFAULT BRANCH: main
Ran 20 Nov 2026 06:17PM UTC
Jobs 1
Files 1040
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

20 Nov 2026 06:08PM UTC coverage: 73.652% (+0.002%) from 73.65%
44789900948

push

github

web-flow
Refuse ID-JAGs with a multi-valued aud (#7204)

* Refuse ID-JAGs with a multi-valued aud

Delegated access: subject mapping at ID-JAG redemption (#6887) requires
the ID-JAG's aud to name exactly one audience. Until now redemption
accepted an aud array with two elements, logged it as a draft departure
and went on to issue a token. ID-JAG draft -06 defines aud as the issuer
identifier of the Resource Authorization Server, a single value; an
array that names several servers lets one ID-JAG be presented to each of
them. Redemption now refuses it with invalid_grant and invalid_assertion
before the assertion is consumed, for every issuer.

This is a client-visible change for every issuer: a two-element aud that
was accepted and logged is now refused. A single-element array and a
string aud behave as before. The multiple_audiences departure is removed
because it can no longer occur.

Refs #6887

Co-authored-by: Mecatl <noreply@mecatl.dev>

* Address review on the multi-valued aud refusal

The accepted_audiences description still said the assertion's aud only
has to intersect the accepted set, and the arch doc still counted two
logged findings after multiple_audiences was removed. Say that the
ID-JAG grant refuses an aud array with more than one value, fix the
finding count, and regenerate the swagger and SDK files.

Run the real multi-issuer validator with a two-value aud, so the refusal
is covered end to end and shown not to consume the assertion.

Co-authored-by: Mecatl <noreply@mecatl.dev>

---------

Co-authored-by: Mecatl <noreply@mecatl.dev>

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

61 existing lines in 5 files now uncovered.

97726 of 132686 relevant lines covered (73.65%)

881.02 hits per line

Coverage Regressions

Lines Coverage ∆ File
47
73.78
4.98% pkg/ignore/processor.go
6
19.87
-3.97% pkg/client/manager.go
6
59.21
-0.62% pkg/workloads/manager.go
1
94.24
0.0% pkg/authserver/storage/memory.go
1
81.58
-0.12% pkg/vmcp/composer/workflow_engine.go
Jobs
ID Job ID Ran Files Coverage
1 44789900948.1 20 Nov 2026 06:17PM UTC 1040
73.65
GitHub Action Run
Source Files on build 44789900948
  • Tree
  • List 1040
  • Changed 9
  • Source Changed 4
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44789900948
  • 739148e4 on github
  • Prev Build on main (#44726891722)
  • Next Build on main (#44929813821)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc