Browse Source

fix: discovery url

Timothy Jaeryang Baek 1 week ago
parent
commit
73f32a88e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/open_webui/routers/configs.py

+ 1 - 1
backend/open_webui/routers/configs.py

@@ -213,7 +213,7 @@ async def verify_tool_servers_config(
                     )
                     async with aiohttp.ClientSession() as session:
                         async with session.get(
-                            discovery_urls[0]
+                            discovery_url
                         ) as oauth_server_metadata_response:
                             if oauth_server_metadata_response.status == 200:
                                 try: