Skip to content

Commit f11104b

Browse files
committed
fall through if PRM endpoint is not implemented
1 parent 202af49 commit f11104b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/mcp/client/auth/oauth2.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,6 @@ async def _handle_protected_resource_response(self, response: httpx.Response) ->
269269

270270
except ValidationError:
271271
pass
272-
else:
273-
raise OAuthFlowError(f"Protected Resource Metadata request failed: {response.status_code}")
274272

275273
def _select_scopes(self, init_response: httpx.Response) -> None:
276274
"""Select scopes as outlined in the 'Scope Selection Strategy in the MCP spec."""

0 commit comments

Comments
 (0)