Skip to content

SEP-3149: Require Token Endpoint Auth Methods Supported in CIMD - #3149

Draft
max-stytch wants to merge 13 commits into
modelcontextprotocol:mainfrom
max-stytch:max/token-endpoint-auth-method
Draft

max-stytch wants to merge 13 commits into
modelcontextprotocol:mainfrom
max-stytch:max/token-endpoint-auth-method

Conversation

@max-stytch

Copy link
Copy Markdown
Contributor

Motivation and Context

This SEP makes the token_endpoint_auth_methods_supported metadata parameter
a required property of MCP Client ID Metadata Documents (CIMD), and creates a
deprecation path for the singular token_endpoint_auth_method parameter,
mirroring the guidance in OpenID Connect RP Metadata Choices 1.0.
This enables a CIMD document to be published once and consumed by many
authorization servers with differing capabilities. It also deprecates the
implicit public-client default that applies when a document declares no
authentication method at all.

How Has This Been Tested?

Breaking Changes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

@max-stytch max-stytch changed the title SEP: Require Token Endpoint Auth Methods Supported in CIMD SEP-3149: Require Token Endpoint Auth Methods Supported in CIMD Jul 28, 2026
Rename from the 0000 placeholder and update the title, PR link, and
lifecycle table entries per the PR-based SEP workflow.
Apply Prettier formatting to the SEP and regenerate the rendered SEP
documentation, navigation, and index entries.
@max-stytch
max-stytch requested review from a team as code owners July 28, 2026 02:48
@Ben-Home

This comment was marked as spam.

@wdawson wdawson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This makes sense to me! I think it's also correct to directly update any pages (like the client registration page) directly in this PR

I also noticed that some clients seem to ignore the server's supported methods. I was happy to see you included the intersection with AS methods here 🎉

Add token_endpoint_auth_methods_supported to the Client Registration
required properties and authorization-server validation, update the
example metadata document, and add a client authentication method
selection note to Security Considerations covering downgrade risk.

Addresses review feedback on PR modelcontextprotocol#3149 to reflect the requirement in the
normative spec pages rather than only the SEP.
…spec-pages

docs: apply SEP-3149 auth method requirements to authorization spec
- Authorization servers **MAY** fall back to `token_endpoint_auth_method`
when the multi-valued parameter is absent — for example, when reading a
document published before this requirement took effect.
- Authorization servers **MUST** treat a document carrying neither parameter

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is treating omission as ["none"] intentional? none is appropriate when a public client explicitly says it cannot authenticate itself. But when the field is missing, assuming none means the authorization server will not require the client to prove its identity. Would it be safer to reject documents containing neither field and require public clients to declare none explicitly? If this fallback is needed for compatibility with existing MCP clients, could we document that reason and make it a temporary exception?

RFC 7591 defines client_secret_basic, rather than none, as the default when token_endpoint_auth_method is omitted. Since shared-secret methods are prohibited for CIMD, rejection seems safer than substituting a different default.

- Authorization servers **MUST NOT** reject a client solely because the
singular preferred method is unsupported when another method in the array is
mutually supported.
- Authorization servers **MAY** fall back to `token_endpoint_auth_method`

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Should this be MUST during the deprecation period? With MAY, an updated authorization server can immediately reject a client that explicitly supplies only token_endpoint_auth_method, which seems inconsistent with the statements made in this section ?

Comment on lines +101 to +104
The client and authorization server determine the set of mutually supported
token endpoint client authentication methods by intersecting the client's
`token_endpoint_auth_methods_supported` array with the authorization server's
`token_endpoint_auth_methods_supported` metadata value.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This intersection assumes that the authorization server publishes its RFC 8414 token_endpoint_auth_methods_supported metadata. Neither RFC 8414 nor the CIMD specification requires that field, and RFC 8414 defaults its omission to client_secret_basic, which CIMD clients are prohibited from using. Should this SEP require authorization servers advertising client_id_metadata_document_supported: true to publish a non-empty list containing at least one CIMD-compatible method? Alternatively, the SEP should explicitly define what clients do when the server field is absent.

Comment on lines +113 to +116
- After reading `token_endpoint_auth_methods_supported` from the CIMD
document, an authorization server **SHOULD** accept any method in the
intersection, unless its local security policy disallows that method for
the client.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is the selected authentication method intended to remain stable for an existing grant, or may the client choose a different method for each token request? For example, if a client advertises both private_key_jwt and none, could it authenticate with private_key_jwt when exchanging an authorization code and later use none when refreshing the resulting token?

Should the authorization server bind the selected authentication requirement, or an equivalent minimum requirement, to the authorization code and refresh-token grant so that subsequent requests cannot use a weaker method?

@gbshankar

Copy link
Copy Markdown

Overall looks Great! Thanks for proposing this.

@ThisIsMissEm

Copy link
Copy Markdown

FYI, I'm currently working on an update to CIMD that adds token_endpoint_auth_methods_supported as the recommended way to indicate token endpoint authentication method, with a fallback to token_endpoint_auth_method, if both are present, then token_endpoint_auth_methods_supported will be used: oauth-wg/draft-ietf-oauth-client-id-metadata-document#99 (I need to make a small adjustment)

@ThisIsMissEm

Copy link
Copy Markdown

Aside, not sure where to put it, but when I checked on https://modelcontextprotocol.io/seps/ I couldn't find this draft SEP as the draft SEPs don't appear to be indexed anywhere, not by the page of SEP's nor the AI assistant (which also cannot read this repository)

@max-stytch

Copy link
Copy Markdown
Contributor Author

@ThisIsMissEm recommending token_endpoint_auth_methods_supported as part of the CIMD draft would be great! If that is done, I think we could greatly simplify (or maybe completely eliminate) this SEP.

@ThisIsMissEm

Copy link
Copy Markdown

@ThisIsMissEm recommending token_endpoint_auth_methods_supported as part of the CIMD draft would be great! If that is done, I think we could greatly simplify (or maybe completely eliminate) this SEP.

That's what I've done here: oauth-wg/draft-ietf-oauth-client-id-metadata-document#99

@dsp-ant

dsp-ant commented Nov 6, 2026

Copy link
Copy Markdown
Member

Hey @max-stytch ,

thank you for putting this up. We are changing how we are handling contributions (yet to be documented well). For SEPs to be accepted, they will have to go through the auth working group. I took the freedom to move this to draft for now. It can be opened again once we have moved this through the auth working group.

@dsp-ant
dsp-ant marked this pull request as draft November 6, 2026 14:54
@dsp-ant dsp-ant added the wg-support-needed Needs support from a working or interest group before it can progress. label Nov 6, 2026 — with Claude

This branch has not been deployed

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

Labels

wg-support-needed Needs support from a working or interest group before it can progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants