From e89bc1ef16fb4a7ecd283b3d42534a8f50cf9ad5 Mon Sep 17 00:00:00 2001 From: "l.gabrysiak" Date: Sat, 1 Mar 2025 23:22:56 +0100 Subject: [PATCH] mod --- backend/open_webui/utils/oauth.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/open_webui/utils/oauth.py b/backend/open_webui/utils/oauth.py index 933d738..7e13903 100644 --- a/backend/open_webui/utils/oauth.py +++ b/backend/open_webui/utils/oauth.py @@ -383,6 +383,8 @@ class OAuthManager: profile_image_url=picture_url, role=role, oauth_sub=provider_sub, + permissions=user_data.get("permissions", None), + subscription=user_data.get("subscription", None) ) if auth_manager_config.WEBHOOK_URL: