Fix auth client example URL handling for oauth provider (#1549)
Some checks failed
Main branch checks / checks (push) Has been cancelled
Some checks failed
Main branch checks / checks (push) Has been cancelled
This commit is contained in:
parent
8cdac3d2f8
commit
6f2cd0cef0
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue