mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 06:02:06 -05:00
issue: Need help for Microsoft AD config: logout issue #5169
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 @cpwan on GitHub (May 14, 2025).
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.5
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When click the logout button, it should redirect to logout page of microsoft AD
Actual Behavior
the webui gets logout, but the AD was not logged out. when clicking login with AD, it logins with the previous AD directly (not prompting for AD login)
Steps to Reproduce
/
Logs & Screenshots
The browser console shows:
Access to fetch at https://login.microsoftonline.com/{tenant-id}/oaut2/logout/...
(redirected from https://{local-ip}/api/v1/auths/signout') from origin 'https://{local-ip}' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
The docker shows:
2025-05-14 08:23:36.700 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.11.22.254:0 - "GET /api/v1/auths/signout HTTP/1.0" 307 - {}
2025-05-14 08:23:37.134 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.11.22.254:0 - "GET /api/v1/auths/admin/details HTTP/1.0" 401 - {} #<-- normal, since it is logged out
Additional Information
No response