Fix auth client example URL handling for oauth provider (#1549)
Main branch checks / checks (push) Failing after 0s

This commit is contained in:
Paul Carleton
2025-10-30 15:35:44 +00:00
committed by GitHub
parent 8cdac3d2f8
commit 6f2cd0cef0
@@ -187,7 +187,7 @@ class SimpleAuthClient:
# Create OAuth authentication handler using the new interface
oauth_auth = OAuthClientProvider(
server_url=self.server_url.replace("/mcp", ""),
server_url=self.server_url,
client_metadata=OAuthClientMetadata.model_validate(client_metadata_dict),
storage=InMemoryTokenStorage(),
redirect_handler=_default_redirect_handler,