diff --git a/backend/open_webui/utils/oauth.py b/backend/open_webui/utils/oauth.py index bfcf22034..a7f40971b 100644 --- a/backend/open_webui/utils/oauth.py +++ b/backend/open_webui/utils/oauth.py @@ -34,7 +34,7 @@ from open_webui.config import ( JWT_EXPIRES_IN, AppConfig, ) -from open_webui.constants import ERROR_MESSAGES +from open_webui.constants import ERROR_MESSAGES, WEBHOOK_MESSAGES from open_webui.env import WEBUI_SESSION_COOKIE_SAME_SITE, WEBUI_SESSION_COOKIE_SECURE from open_webui.utils.misc import parse_duration from open_webui.utils.auth import get_password_hash, create_token @@ -57,6 +57,7 @@ auth_manager_config.OAUTH_ALLOWED_ROLES = OAUTH_ALLOWED_ROLES auth_manager_config.OAUTH_ADMIN_ROLES = OAUTH_ADMIN_ROLES auth_manager_config.OAUTH_ALLOWED_DOMAINS = OAUTH_ALLOWED_DOMAINS auth_manager_config.WEBHOOK_URL = WEBHOOK_URL +auth_manager_config.WEBHOOK_MESSAGES = WEBHOOK_MESSAGES auth_manager_config.JWT_EXPIRES_IN = JWT_EXPIRES_IN