From 5b2e1ca7cdbeba0070182fca1155f9b07c4c91fe Mon Sep 17 00:00:00 2001 From: "Willnow, Patrick" Date: Thu, 3 Oct 2024 23:06:05 +0200 Subject: [PATCH] add more logging --- backend/open_webui/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/open_webui/main.py b/backend/open_webui/main.py index 9442ab9af..89aed7fcb 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -2244,7 +2244,8 @@ async def oauth_callback(provider: str, request: Request, response: Response): # Check if the user exists user = Users.get_user_by_oauth_sub(provider_sub) - + # print all user data content for debugging + log.info(f"User data: {user_data}") if user: role = user.role if Users.get_num_users() == 1: