Przeglądaj źródła

fix: discovery url

Timothy Jaeryang Baek 1 tydzień temu
rodzic
commit
73f32a88e3
1 zmienionych plików z 1 dodań i 1 usunięć
  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: