Skip to content

Fixes #30#46

Open
DantesVault wants to merge 1 commit into
open-webui:mainfrom
DantesVault:main
Open

Fixes #30#46
DantesVault wants to merge 1 commit into
open-webui:mainfrom
DantesVault:main

Conversation

@DantesVault

Copy link
Copy Markdown

Fixes #30

Changes

  • Update sharepoint connector to now tell the HTTP client to follow redirects when reading files.

Why

The Graph API returns a 302 redirect to a temporary download URL for file content, but sharepoint connector isn't following that redirect it's treating the 302 as an error.

SwamiRama added a commit to SwamiRama/oikb that referenced this pull request Jul 9, 2026
SharePoint file downloads hit a 302 from the Graph /content endpoint to a
pre-signed download URL. The httpx client did not follow redirects, so
downloads failed with an unhandled 302. Enable follow_redirects on the
client; httpx drops the Authorization header on the cross-origin hop, which
is correct because the pre-signed URL carries its own token.

Upstream: issues open-webui#30 / open-webui#56, PRs open-webui#46 / open-webui#68.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug report: Sharepoint sync not following redirects

1 participant