issue: Blank Page Displayed During OAuth Login on Pending Page #4758

Closed
opened 2025-11-11 16:02:19 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @patrick517 on GitHub (Apr 8, 2025).

Check Existing Issues

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

Installation Method

Docker

Open WebUI Version

v0.6.2

Ollama Version (if applicable)

0.6.4

Operating System

Rocky Linux 9.5

Browser (if applicable)

Chrome, Edge, Firefox, Safari

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

  • The pending page should display when the account is pending
  • User should receive feedback about their login status

Image

Actual Behavior

  • Blank empty page with no visible elements or errors

Steps to Reproduce

  1. Sign in with SSO
  2. Complete authentication on the OAuth provider’s page
  3. Get redirected back to the application’s pending page
  4. Observe a blank page instead of expected content

Logs & Screenshots

Image

Additional Information

No response

Originally created by @patrick517 on GitHub (Apr 8, 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 Docker ### Open WebUI Version v0.6.2 ### Ollama Version (if applicable) 0.6.4 ### Operating System Rocky Linux 9.5 ### Browser (if applicable) Chrome, Edge, Firefox, Safari ### 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 - The pending page should display when the account is pending - User should receive feedback about their login status ![Image](https://github.com/user-attachments/assets/744b4cc2-29a0-407d-a482-78157c3ffcf1) ### Actual Behavior - Blank empty page with no visible elements or errors ### Steps to Reproduce 1. Sign in with SSO 2. Complete authentication on the OAuth provider’s page 3. Get redirected back to the application’s pending page 4. Observe a blank page instead of expected content ### Logs & Screenshots ![Image](https://github.com/user-attachments/assets/7dc070eb-e36b-43c2-9cdd-6d69616fdb33) ### Additional Information _No response_
GiteaMirror added the bug label 2025-11-11 16:02:19 -06:00
Author
Owner

@pavelzamyatin commented on GitHub (Apr 8, 2025):

Same here. v0.6.2, Docker, Chrome.

@pavelzamyatin commented on GitHub (Apr 8, 2025): Same here. v0.6.2, Docker, Chrome.
Author
Owner

@BerkayOzb commented on GitHub (Apr 8, 2025):

you need to change src/lib/components/chat/ToolServersModal.svelte file.

on 18th line
$: selectedTools = $tools.filter((tool) => selectedToolIds.includes(tool.id)); to ->
$: selectedTools = ($tools ?? []).filter((tool) => selectedToolIds.includes(tool.id));

@BerkayOzb commented on GitHub (Apr 8, 2025): you need to change src/lib/components/chat/ToolServersModal.svelte file. on 18th line $: selectedTools = $tools.filter((tool) => selectedToolIds.includes(tool.id)); to -> $: selectedTools = ($tools ?? []).filter((tool) => selectedToolIds.includes(tool.id));
Author
Owner

@Krzysi3k commented on GitHub (Apr 8, 2025):

from my observation call to: /models takes long time

Image

@Krzysi3k commented on GitHub (Apr 8, 2025): from my observation call to: `/models` takes long time ![Image](https://github.com/user-attachments/assets/799568ac-b2cc-47ad-9d93-b602dfaaa156)
Author
Owner

@tjbck commented on GitHub (Apr 8, 2025):

@Krzysi3k There are many existing discussions regarding this. This is an architectural decision.

Related: https://docs.openwebui.com/getting-started/env-configuration#aiohttp_client_timeout_model_list

@tjbck commented on GitHub (Apr 8, 2025): @Krzysi3k There are many existing discussions regarding this. This is an architectural decision. Related: https://docs.openwebui.com/getting-started/env-configuration#aiohttp_client_timeout_model_list
Author
Owner

@chalitbkb commented on GitHub (Apr 9, 2025):

from my observation call to: /models takes long time

Image

@Krzysi3k @tjbck

https://github.com/open-webui/open-webui/issues/12164 Same problem. I believe there's another hidden process at play. However, when I switched to using SQLite, I didn't encounter any issues, which suggests that another process might be lurking. Nevertheless, using SQLite doesn't automatically free up space, even after deleting chat history or removing all uploaded documents from the system. It seems that OpenWebUI hasn't addressed this bug yet. From my tests, using Vacuum to manage it can resolve this issue. Related : https://github.com/open-webui/open-webui/discussions/12249

It's surprising that SQLite doesn't require the "AIOHTTP_CLIENT_TIMEOUT_MODEL_LIST" setting because requests to ./models are fast and well-balanced. In contrast, using other databases results in slower requests to /models, necessitating the configuration of "AIOHTTP_CLIENT_TIMEOUT_MODEL_LIST" to reduce this delay.

@chalitbkb commented on GitHub (Apr 9, 2025): > from my observation call to: `/models` takes long time > > ![Image](https://github.com/user-attachments/assets/799568ac-b2cc-47ad-9d93-b602dfaaa156) @Krzysi3k @tjbck https://github.com/open-webui/open-webui/issues/12164 Same problem. I believe there's another hidden process at play. However, when I switched to using SQLite, I didn't encounter any issues, which suggests that another process might be lurking. Nevertheless, using SQLite doesn't automatically free up space, even after deleting chat history or removing all uploaded documents from the system. It seems that OpenWebUI hasn't addressed this bug yet. From my tests, using Vacuum to manage it can resolve this issue. Related : https://github.com/open-webui/open-webui/discussions/12249 It's surprising that SQLite doesn't require the "AIOHTTP_CLIENT_TIMEOUT_MODEL_LIST" setting because requests to ./models are fast and well-balanced. In contrast, using other databases results in slower requests to /models, necessitating the configuration of "AIOHTTP_CLIENT_TIMEOUT_MODEL_LIST" to reduce this delay.
Author
Owner

@badgerhill commented on GitHub (Apr 9, 2025):

i had the same issue. problem was/is, that the newly created user has the role "pending". If i change the users role to user, i can log in fine using sso.

@badgerhill commented on GitHub (Apr 9, 2025): i had the same issue. problem was/is, that the newly created user has the role "pending". If i change the users role to user, i can log in fine using sso.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#4758