You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Authorization/Token URL overrides are ignored when the server exposes no OAuth metadata #2562
Add a Streamable HTTP server whose host serves no OAuth discovery metadata and returns 401 for unauthenticated requests.
In the server's OAuth settings, set Client ID, Scopes, Authorization URL override, and Token URL override to an external authorization server (Entra ID).
Click Clear stored OAuth state, restart the Inspector, and connect.
Expected behavior
The browser is redirected to the configured authorization URL override: https://login.microsoftonline.com/<tenant-id>/oauth2/v2.0/authorize?...
Actual behavior
The browser is redirected to the fallback endpoint on the MCP server's host:
Severity 4 — the Authorization/Token URL overrides are ignored when the server publishes no OAuth metadata, so a gateway fronted by an external AS (Entra ID) cannot be authorized at all
Urgency 3 — affects the published release; no workaround offered
Bonuses: +1 bug label
Board: #28, Status Incoming (awaiting maintainer review — no milestone yet).
Activity
cliffhall commentedon Oct 12, 2026
Triage: Priority Medium (total 8)
buglabelBoard: #28, Status
Incoming(awaiting maintainer review — no milestone yet).fix(auth): identify synthesized metadata by identity, not header (#2562)
fix(auth): exclude well-known-prefixed candidates from final-candidat…
fix(auth): synthesize metadata only for JSON discovery requests (#2562)
fix(auth): exclude event-stream Accept from discovery detection (#2562)
fix(auth): mirror the SDK's full discovery-continue predicate (#2562)
cliffhall commentedon Oct 12, 2026
Fixed by #2691, merged into
v2/main.fix(auth): apply endpoint overrides when the AS publishes no metadata (…