We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parente84053a commitce4dbe3Copy full SHA for ce4dbe3
dive_mcp_host/host/tools/mcp_server.py
@@ -728,6 +728,7 @@ def _http_get_client(
728
timeout=timeout,
729
httpx_client_factory=self._httpx_client_factory,
730
sse_read_timeout=sse_read_timeout,
731
+auth=auth,
732
)
733
ifself.config.transportin ("streamable"):
734
returnstreamablehttp_client(
@@ -1013,8 +1014,10 @@ def auth_manager(self) -> OAuthManager:
1013
1014
1015
asyncdefcreate_oauth_authorization(self)->AuthorizationProgress:
1016
"""Authorize the OAuth client."""
-ifself.config.transport!="streamable":
1017
-raiseRuntimeError("Only streamable transport is supported for oauth")
+ifself.config.transport!="streamable"andself.config.transport!="sse":
1018
+raiseRuntimeError(
1019
+"Only streamable and sse transport is supported for oauth"
1020
+ )
1021
1022
ifself.auth_managerisNone:
1023
raiseRuntimeError("OAuth manager is not initialized")