OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.
Python
Rename BROKER_URL to OAUTH_BROKER_URL
Edwin Jose10c5deadef0f
diff --git a/src/config/settings.py b/src/config/settings.pyindex 3e36867cc..69b7ccbf8 100644--- a/src/config/settings.py+++ b/src/config/settings.py@@ -113,7 +113,7 @@ WEBHOOK_BASE_URL = os.getenv(# OAuth callback broker URL -- when set, Google (and other providers) redirect# here instead of directly to the frontend. The broker then forwards to the# actual frontend origin that is carried in the OAuth state parameter.-BROKER_URL = os.getenv("BROKER_URL")+OAUTH_BROKER_URL = os.getenv("OAUTH_BROKER_URL")# OpenSearch configurationVECTOR_DIM = 1536diff --git a/src/services/auth_service.py b/src/services/auth_service.pyindex f8a14dda6..f5c701efb 100644--- a/src/services/auth_service.py+++ b/src/services/auth_service.py@@ -7,7 +7,7 @@ from datetime import datetime, timedeltafrom typing import Optionalimport asyncioimport os-from config.settings import BROKER_URL, WEBHOOK_BASE_URL, is_no_auth_mode+from config.settings import OAUTH_BROKER_URL, WEBHOOK_BASE_URL, is_no_auth_modefrom fastapi import HTTPExceptionlogger = logging.getLogger(__name__)@@ -88,7 +88,7 @@ class AuthService:# Create connection configuration - use data/ directory for persistencetoken_file = f"data/{connector_type}_{purpose}_{uuid.uuid4().hex[:8]}.json"- effective_redirect_uri = BROKER_URL or redirect_uri+ effective_redirect_uri = OAUTH_BROKER_URL or redirect_uriconfig = {"token_file": token_file,"connector_type": connector_type,