issue: Need help for Microsoft AD config: logout issue #5169

Closed
opened 2025-11-11 16:13:40 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @cpwan on GitHub (May 14, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

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

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

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

Originally created by @cpwan on GitHub (May 14, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### 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 - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### 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_
GiteaMirror added the bug label 2025-11-11 16:13:40 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#5169