File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
examples/clients/simple-auth-multiprotocol-client
mcp_simple_auth_multiprotocol_client Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ async def redirect_handler(url: str) -> None:
234234 print(f"OAuth protocol enabled (DPoP: {self.dpop_enabled})")
235235
236236 # Add non-OAuth protocols. Allow forcing protocol injection for integration tests.
237- forced = os.getenv("MCP_AUTH_PROTOCOL", os.getenv("MCP_PHASE2_PROTOCOL", "") ).strip().lower()
237+ forced = os.getenv("MCP_AUTH_PROTOCOL", "" ).strip().lower()
238238 if forced in ("mutual_tls", "mtls"):
239239 # Force mTLS placeholder to be selectable (do not inject API key fallback).
240240 protocols.append(MutualTlsPlaceholderProtocol())
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ SKIP_OAUTH="${MCP_SKIP_OAUTH:-0}"
2929
3030cd "$REPO_ROOT"
3131echo "============================================================"
32- echo "Phase 4 DPoP Integration Test"
32+ echo "DPoP Integration Test"
3333echo "============================================================"
3434echo "Repo root: $REPO_ROOT"
3535echo "AS port: $AS_PORT"
Original file line number Diff line number Diff line change @@ -58,9 +58,9 @@ cd "$REPO_ROOT"
5858wait_for_url "http://localhost:$AS_PORT/.well-known/oauth-authorization-server" "Authorization Server"
5959wait_for_url "http://localhost:$RS_PORT/.well-known/oauth-protected-resource/mcp" "Resource Server (PRM)"
6060
61- # Optional: print PRM (Phase 1 backward compat: resource + authorization_servers; mcp_* may appear)
61+ # Optional: print PRM (backward compat: resource + authorization_servers; mcp_* may appear)
6262echo ""
63- echo "PRM (RFC 9728 + optional Phase 1 fields ):"
63+ echo "PRM (RFC 9728):"
6464curl -sS "http://localhost:$RS_PORT/.well-known/oauth-protected-resource/mcp" | head -c 500
6565echo ""
6666echo ""
You can’t perform that action at this time.
0 commit comments