part 3The satellite RFCs MCP relies on·lesson 3.3 of 8·1 min read
OpenID Connect Discovery
OpenID Connect Discovery publishes the same kind of authorization server directory as RFC 8414, at the path identity providers already serve. This lesson explains what /.well-known/openid-configuration is, why MCP authorization accepts it from 2025-11-25, and the order in which an MCP client tries the discovery URLs.
In this lesson
Explain what /.well-known/openid-configuration is.
Explain why MCP accepts it from 2025-11-25.
Build the order in which the client tries the metadata URLs.
The same directory, on another path
OpenID Connect (OIDC) is an identity layer on top of OAuth 2.0. Its discovery specification predates RFC 8414 and defines a very similar JSON document at /.well-known/openid-configuration. Many corporate identity providers only publish that path, or published it long before the other one.
GET /.well-known/openid-configuration HTTP/1.1
Host: login.example.com
The OAuth fields are the same; OIDC adds its own (userinfo_endpoint, id_token_signing_alg_values_supported…), which an MCP client can ignore.
Why MCP accepts it
Without this option, protecting an MCP server with the company's SSO would require a proxy that published the OAuth path. With 2025-11-25: the authorization server must offer one of the two paths, and the client must support both.
1. OAuth with path insertion: /.well-known/oauth-authorization-server/tenant12. OIDC with path insertion: /.well-known/openid-configuration/tenant13. OIDC with path appending: /tenant1/.well-known/openid-configuration
You can try this with the discovery URL builder in lesson 3.4.
Summary
OIDC Discovery = authorization server metadata at /.well-known/openid-configuration.
Since 2025-11-25: the AS offers at least one of the two paths; the client supports both, trying OAuth first.
With a path in the issuer, the client tries OAuth insertion, OIDC insertion and then OIDC appending.
quiz · 2 questions
1. Your company uses a provider that only publishes /.well-known/openid-configuration. From which revision can a standard MCP client discover it without tricks?
Before 2025-11-25, the client only tried the RFC 8414 OAuth path.
2. The issuer is https://auth.example.com/tenant1. Which URL does the client try first?
OAuth metadata with path insertion comes first, then OIDC with path insertion, and finally OIDC with the path appended.