Skip to content

oidc: align token exchange with the Marketplace contract - #1337

Merged
Benjamin Christopher Simmonds (benibenj) merged 1 commit into
mainfrom
benibenj/agents/oidc-vsce-endpoint-updates
Sep 29, 2026
Merged

Benjamin Christopher Simmonds (benibenj) merged 1 commit into
mainfrom
benibenj/agents/oidc-vsce-endpoint-updates

Conversation

@benibenj

Copy link
Copy Markdown
Contributor

Summary

  • Use the FederatedToken authorization scheme for Marketplace token exchange and specify api-version=7.2-preview.1.
  • Preserve GitHub Bearer authentication, the marketplace.visualstudio.com audience, and existing VSCE_MARKETPLACE_URL configuration for exchange and upload.
  • Test production and generic custom hosts, including trailing slashes, and document the exchange contract and session-token lifetime.

Validation

  • npm run compile
  • npm test -- --grep "OIDC trusted publishing" (8 passing)
  • No-network smoke test confirming shared custom-host routing for exchange and the Gallery API.

Live end-to-end publishing has not been tested. The response parser continues to expect a credential field.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@benibenj
Benjamin Christopher Simmonds (benibenj) merged commit 0765451 into main Sep 29, 2026
5 checks passed
@benibenj
Benjamin Christopher Simmonds (benibenj) deleted the benibenj/agents/oidc-vsce-endpoint-updates branch September 29, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants