mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[GH-ISSUE #23450] issue: OneDrive Personal Integration broken - redirect_uri contains dynamic chat ID #19987
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Lyhtande on GitHub (Apr 6, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23450
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.8.12
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22.04.5 LTS
Browser (if applicable)
Chrome Version 146.0.7680.178 (Official Build) (64-Bit)
Confirmation
README.md.Expected Behavior
When clicking "Microsoft OneDrive (personal)" in the attachment menu, a Microsoft login popup should open successfully. According to the documentation, the redirect_uri sent to Microsoft should be the base URL of the Open WebUI instance (e.g., https://your-openwebui-domain.com), which is also what needs to be registered as a SPA Redirect URI in the Azure App Registration.
Actual Behavior
The popup opens but immediately fails with:
Inspecting the actual URL being called reveals that Open WebUI sends the current chat URL including a dynamic chat ID as the redirect_uri:
https://your-openwebui-domain.com/c/59db652a-170f-4fa2-8cb7-679a64588dfbSteps to Reproduce
Logs & Screenshots
Additional Information
No response
@tjbck commented on GitHub (Apr 13, 2026):
Addressed in dev.