File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
examples/clients/simple-auth-client/mcp_simple_auth_client Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,9 @@ async def _default_redirect_handler(authorization_url: str) -> None:
188188 # Create OAuth authentication handler using the new interface
189189 oauth_auth = OAuthClientProvider (
190190 server_url = self .server_url .replace ("/mcp" , "" ),
191- client_metadata = OAuthClientMetadata .model_validate (client_metadata_dict ),
191+ client_metadata = OAuthClientMetadata .model_validate (
192+ client_metadata_dict
193+ ),
192194 storage = InMemoryTokenStorage (),
193195 redirect_handler = _default_redirect_handler ,
194196 callback_handler = callback_handler ,
@@ -320,7 +322,9 @@ async def interactive_loop(self):
320322 await self .call_tool (tool_name , arguments )
321323
322324 else :
323- print ("❌ Unknown command. Try 'list', 'call <tool_name>', or 'quit'" )
325+ print (
326+ "❌ Unknown command. Try 'list', 'call <tool_name>', or 'quit'"
327+ )
324328
325329 except KeyboardInterrupt :
326330 print ("\n \n 👋 Goodbye!" )
You can’t perform that action at this time.
0 commit comments