Skip to content

Support configurable subject token types in identity assertion grants - #1829

Draft
zhenyu-02 wants to merge 1 commit into
modelcontextprotocol:mainfrom
zhenyu-02:codex/feat/identity-assertion-saml2
Draft

Support configurable subject token types in identity assertion grants#1829
zhenyu-02 wants to merge 1 commit into
modelcontextprotocol:mainfrom
zhenyu-02:codex/feat/identity-assertion-saml2

Conversation

@zhenyu-02

Copy link
Copy Markdown

Summary

  • add a configurable RFC 8693 subject token type that defaults to the existing ID-token behavior
  • expose ID-token and SAML 2.0 subject token type identifiers
  • pass the configured token type through the identity assertion exchange and update callback documentation
  • cover default ID-token, explicit SAML 2.0, form payload, and invalid configuration cases

Testing

  • IdentityAssertionGrantTests: 24 passed per target framework across net10/net9/net8 (72 total)
  • ModelContextProtocol.Tests net10: 2,362 passed, 5 skipped
  • ModelContextProtocol.Core build: net10/net9/net8/netstandard2.0, 0 warnings and 0 errors
  • dotnet format --verify-no-changes
  • git diff --check

Fixes #1618

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.

Identity Assertion Grant flow only supports OIDC ID tokens, not SAML 2.0 assertions

1 participant