[GH-ISSUE #19662] issue: Cannot logout properly #18950

Closed
opened 2026-04-20 01:14:23 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @man2004 on GitHub (Dec 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19662

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.6.40

Ollama Version (if applicable)

No response

Operating System

Ubuntu 20.04

Browser (if applicable)

MS Edge 142.0.3595.94

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 provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

It can logout properly and redirect to the login page.

Actual Behavior

After logout, it stays at the screen showing OI. I found the URL is https://my domain.com/auth, not the redirected one https://mydomain.com/auth?redirect=%2F. If I deleted /auth or changed to /auth?redirect=%2F, then it can go to the login page.

I am using the basic password based login, not SSO or OAuth.

Steps to Reproduce

  1. Login as usual
  2. Logout
  3. Stays at OI page

Logs & Screenshots

2025-12-01 18:11:02.904 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/v1/chats/3e27f8eb-ce65-4018-a361-59a241b2c3a1 HTTP/1.1" 200
2025-12-01 18:11:02.928 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/v1/chats/691709c4-2a6d-4038-9c01-f67eba9b0f01 HTTP/1.1" 200
2025-12-01 18:11:03.062 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/v1/chats/3e27f8eb-ce65-4018-a361-59a241b2c3a1 HTTP/1.1" 200
2025-12-01 18:11:03.222 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/v1/chats/3e27f8eb-ce65-4018-a361-59a241b2c3a1 HTTP/1.1" 200
2025-12-01 18:11:03.359 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/usage HTTP/1.1" 200
2025-12-01 18:11:03.525 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/usage HTTP/1.1" 200
2025-12-01 18:11:04.124 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/usage HTTP/1.1" 200
2025-12-01 18:11:04.606 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/v1/auths/signout HTTP/1.1" 200
2025-12-01 18:11:04.636 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/v1/chats/9845fa36-90ba-4d42-820b-30986437a6fb HTTP/1.1" 200
2025-12-01 18:11:04.907 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /_app/immutable/entry/start.D5s5YTUb.js HTTP/1.1" 404
2025-12-01 18:11:04.917 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /_app/immutable/chunks/BYfvXhfD.js HTTP/1.1" 404
2025-12-01 18:11:04.928 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /manifest.json HTTP/1.1" 200
2025-12-01 18:11:04.929 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /_app/immutable/entry/app.C3jjZZTv.js HTTP/1.1" 404
2025-12-01 18:11:04.932 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /_app/immutable/chunks/BsAB9Z30.js HTTP/1.1" 404
2025-12-01 18:11:04.932 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /_app/immutable/chunks/IHki7fMi.js HTTP/1.1" 404
2025-12-01 18:17:33.723 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 170.106.180.153:0 - "GET / HTTP/1.1" 200

Additional Information

No response

Originally created by @man2004 on GitHub (Dec 1, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/19662 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.6.40 ### Ollama Version (if applicable) _No response_ ### Operating System Ubuntu 20.04 ### Browser (if applicable) MS Edge 142.0.3595.94 ### 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 **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior It can logout properly and redirect to the login page. ### Actual Behavior After logout, it stays at the screen showing OI. I found the URL is https://my domain.com/auth, not the redirected one https://mydomain.com/auth?redirect=%2F. If I deleted /auth or changed to /auth?redirect=%2F, then it can go to the login page. I am using the basic password based login, not SSO or OAuth. ### Steps to Reproduce 1. Login as usual 2. Logout 3. Stays at OI page ### Logs & Screenshots 2025-12-01 18:11:02.904 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/v1/chats/3e27f8eb-ce65-4018-a361-59a241b2c3a1 HTTP/1.1" 200 2025-12-01 18:11:02.928 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/v1/chats/691709c4-2a6d-4038-9c01-f67eba9b0f01 HTTP/1.1" 200 2025-12-01 18:11:03.062 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/v1/chats/3e27f8eb-ce65-4018-a361-59a241b2c3a1 HTTP/1.1" 200 2025-12-01 18:11:03.222 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/v1/chats/3e27f8eb-ce65-4018-a361-59a241b2c3a1 HTTP/1.1" 200 2025-12-01 18:11:03.359 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/usage HTTP/1.1" 200 2025-12-01 18:11:03.525 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/usage HTTP/1.1" 200 2025-12-01 18:11:04.124 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/usage HTTP/1.1" 200 2025-12-01 18:11:04.606 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/v1/auths/signout HTTP/1.1" 200 2025-12-01 18:11:04.636 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /api/v1/chats/9845fa36-90ba-4d42-820b-30986437a6fb HTTP/1.1" 200 2025-12-01 18:11:04.907 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /_app/immutable/entry/start.D5s5YTUb.js HTTP/1.1" 404 2025-12-01 18:11:04.917 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /_app/immutable/chunks/BYfvXhfD.js HTTP/1.1" 404 2025-12-01 18:11:04.928 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /manifest.json HTTP/1.1" 200 2025-12-01 18:11:04.929 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /_app/immutable/entry/app.C3jjZZTv.js HTTP/1.1" 404 2025-12-01 18:11:04.932 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /_app/immutable/chunks/BsAB9Z30.js HTTP/1.1" 404 2025-12-01 18:11:04.932 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 86.31.180.234:0 - "GET /_app/immutable/chunks/IHki7fMi.js HTTP/1.1" 404 2025-12-01 18:17:33.723 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 170.106.180.153:0 - "GET / HTTP/1.1" 200 ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-20 01:14:23 -05:00
Author
Owner

@owui-terminator[bot] commented on GitHub (Dec 1, 2025):

🔍 Similar Issues Found

I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:

  1. #18157 issue: v0.6.33 login no longer possible
    by gothicVI • Oct 08, 2025 • bug

  2. #15719 **issue: 0.6.16 - can't sign out when logged in using MS OAuth SSO **
    by Hisma • Jul 15, 2025 • bug

  3. #19563 issue:
    by naruto7g • Nov 28, 2025 • bug

  4. #19211 issue:
    by Byrnes9 • Nov 16, 2025 • bug

  5. #14540 issue: Failed to logout IDP when sign out in Oidc
    by Bouby308 • May 31, 2025 • bug

Show 5 more related issues
  1. #19481 issue: admin panel not working
    by kybeq • Nov 25, 2025 • bug

  2. #17388 issue:
    by abxis • Sep 12, 2025 • bug

  3. #17393 issue:
    by abxis • Sep 12, 2025 • bug

  4. #17391 issue:
    by abxis • Sep 12, 2025 • bug

  5. #17390 issue:
    by abxis • Sep 12, 2025 • bug


💡 Tips:

  • If this is a duplicate, please consider closing this issue and adding any additional details to the existing one
  • If you found a solution in any of these issues, please share it here to help others

This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.

<!-- gh-comment-id:3598166997 --> @owui-terminator[bot] commented on GitHub (Dec 1, 2025): 🔍 **Similar Issues Found** I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions: 1. [#18157](https://github.com/open-webui/open-webui/issues/18157) **issue: v0.6.33 login no longer possible** *by gothicVI • Oct 08, 2025 • `bug`* 2. [#15719](https://github.com/open-webui/open-webui/issues/15719) **issue: 0.6.16 - can't sign out when logged in using MS OAuth SSO ** *by Hisma • Jul 15, 2025 • `bug`* 3. [#19563](https://github.com/open-webui/open-webui/issues/19563) **issue:** *by naruto7g • Nov 28, 2025 • `bug`* 4. [#19211](https://github.com/open-webui/open-webui/issues/19211) **issue:** *by Byrnes9 • Nov 16, 2025 • `bug`* 5. [#14540](https://github.com/open-webui/open-webui/issues/14540) **issue: Failed to logout IDP when sign out in Oidc** *by Bouby308 • May 31, 2025 • `bug`* <details> <summary>Show 5 more related issues</summary> 6. [#19481](https://github.com/open-webui/open-webui/issues/19481) **issue: admin panel not working** *by kybeq • Nov 25, 2025 • `bug`* 7. [#17388](https://github.com/open-webui/open-webui/issues/17388) **issue:** *by abxis • Sep 12, 2025 • `bug`* 8. [#17393](https://github.com/open-webui/open-webui/issues/17393) **issue:** *by abxis • Sep 12, 2025 • `bug`* 9. [#17391](https://github.com/open-webui/open-webui/issues/17391) **issue:** *by abxis • Sep 12, 2025 • `bug`* 10. [#17390](https://github.com/open-webui/open-webui/issues/17390) **issue:** *by abxis • Sep 12, 2025 • `bug`* </details> --- 💡 **Tips:** - If this is a duplicate, please consider closing this issue and adding any additional details to the existing one - If you found a solution in any of these issues, please share it here to help others *This comment was generated automatically by a bot.* Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#18950