Skip to content

feat(auth): support OIDC ID-token subjects in enterprise exchange - #1385

Merged
DaleSeo merged 2 commits into
modelcontextprotocol:mainfrom
jif-oai:jif/ema-id-token
Oct 22, 2026
Merged

DaleSeo merged 2 commits into
modelcontextprotocol:mainfrom
jif-oai:jif/ema-id-token

Conversation

@jif-oai

@jif-oai jif-oai commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Allow EMA callers to exchange an OIDC ID token for an ID-JAG using EmaExchangeRequest::new_with_id_token. The existing constructor keeps the refresh-token subject, and both paths use the same validation, client authentication, and resource-bound redemption. ID-token freshness and renewal remain with the caller.

@jif-oai
jif-oai requested a review from a team as a code owner October 22, 2026 10:25
@github-actions github-actions Bot added T-test Testing related changes T-core Core library changes T-transport Transport layer changes labels Oct 22, 2026
@github-actions
github-actions Bot requested a review from DaleSeo October 22, 2026 10:26
@github-actions

Copy link
Copy Markdown
Contributor

@DaleSeo (assignment failed) is on triage rotation this week and is the reviewer for this one.

Labels come from the PR labeler. Please review the change.

Automated triage. Labels are a first pass and the assigned maintainer has the final say.

@jif-oai jif-oai changed the title Support OIDC ID-token subjects in enterprise exchange feat(auth): support OIDC ID-token subjects in enterprise exchange Oct 22, 2026
Comment thread crates/rmcp/src/transport/auth/enterprise.rs Outdated
Comment thread crates/rmcp/src/transport/auth/enterprise.rs Outdated
Comment thread crates/rmcp/src/transport/auth/enterprise_tests.rs Outdated

@DaleSeo DaleSeo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding ID-token subjects, @jif-oai!

@DaleSeo
DaleSeo merged commit b11a40d into modelcontextprotocol:main Oct 22, 2026
24 checks passed
@github-actions github-actions Bot mentioned this pull request Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-core Core library changes T-test Testing related changes T-transport Transport layer changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants