Skip to content

Delegated access: turn on subject resolution at ID-JAG redemption #7247

Done

Description

@jhrozek

Part of "Delegated access: subject mapping at ID-JAG redemption" (#6887).

Branch: as2-subject-mapping-4-enable (about 20 lines plus tests). Phase: 1, end.

Problem. Resolution exists but the gate refuses it. Turning the gate off is safe only once the gateway can refuse a marked token used by the wrong user, client or session.

Change. Remove the code gate and the startup log line. Reconfigure the flow test's AS-2 issuer as resolve (ID-JAG only, actor_issuers = AS-1's actor issuer), add the AS-2 sign-in through the mock identity provider and a second upstream, flip the redeemed sub to the local user, add the real-user check (the redeemed sub equals the UserID on the second upstream's row) and the synthetic-subject test, and turn the gate tests into reachability tests. Mecatl's own phase 1 end-to-end test covers the full path. The release notes state the rollout order: every gateway replica must enforce the marker before AS-2 issues marked tokens. Mecatl pins a released ToolHive, so it also needs the release containing this change before it configures resolve.

Blocked by (storage prerequisites; the first four come from the storage plan's step 5 and merge gate, the last from the parent's Tests section).

Closes. The parent issue.

Unblocks. "Connect provider accounts at the embedded gateway", then "List gateway tools with a broker-issued token", then "Phase 1 end-to-end test against the real ToolHive in kind" (all mecatl).

Activity

  1. added
    needs-triage
    on Nov 23, 2026
  2. removed
    needs-triage
    on Nov 24, 2026
  3. ChrisJBurns commented on Nov 27, 2026

    @ChrisJBurns
    Collaborator

    The "Blocked by" list names #6831 for user-keyed storage (step 2a). Since the 2026-11-24 split, the embedder half is "User-keyed upstream storage behind the embedder option" (#7263), which is closed. #6831 now covers only the runner-built side.

    Is this issue still waiting on #6831, or only on #7263? If it's only #7263, could the list say so? Mecatl uses the embedder path, so that would make Part C of #6407 the only open blocker here.

  4. jhrozek commented on Nov 27, 2026

    @jhrozek
    ContributorAuthor

    Only #7263. #6831 is the runner-built side now and doesn't block this. The blocked-by links already reflected that, but the body text was from before the split. I've updated it. So yes, Part C of #6407 is the last open blocker, and only its upstream_inject part with the exported option: the other strategies fail closed on delegated tokens until they land, so I've noted in the body that they don't block this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions