fix: 1210 Langflow OpenSearch Ingestion AuthorizationException Issue#1939
fix: 1210 Langflow OpenSearch Ingestion AuthorizationException Issue#1939richardz403 wants to merge 1 commit into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Warning
|
This PR fixes #1210, a Langflow ingestion auth issue in non-IBM OpenRAG deployments.
Previously, Langflow ingestion requests could reach OpenSearch without explicit credentials, causing the OpenSearch component to execute searches as the anonymous user and fail with 403 security_exception during file ingestion.
This change updates Langflow header injection so that, in non-IBM mode, ingestion requests always include the configured OpenSearch basic auth globals (OPENSEARCH_USERNAME and OPENSEARCH_PASSWORD). That ensures the Langflow OpenSearch component authenticates correctly instead of falling back to anonymous access.
Fixes 403 ingestion failures caused by anonymous OpenSearch _search requests
Affects Langflow-based ingestion in non-IBM/no-auth deployments
Does not change IBM auth behavior.