[GH-ISSUE #9535] Name is not retrieved from OpenID since release 0.5.8 #54214

Closed
opened 2026-05-05 15:58:29 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @ohmer1 on GitHub (Feb 6, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9535

Bug Report

--

Installation Method

uvx

Environment

  • Open WebUI Version: 0.5.8 and 0.5.10

  • Ollama (if applicable): N/A

  • Operating System: Ubuntu 24.04

  • Browser (if applicable): N/A

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on 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 the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

User's full name set to his user account.

Actual Behavior:

The user full name is not set.

Description

Bug Summary:
When a new user do a login from OpenID, his name is not set (set to email address). It was working fine in release 0.5.7.

Reproduction Details

Steps to Reproduce:

  • Login a new user to OI with OpenID
  • Notice the name is not assigned to user account.

Logs and Screenshots

The name is correctly defined in the user_data variable, so the SSO is giving it to the application. I dumped the variable:

2025-02-06T13:45:20.747967-05:00 server openwebui.sh[8764]: WARNI [open_webui.utils.oauth] duff test: {'preferred_username': 'a_new_user', 'email': 'a_new_user@domain.tld', 'nonce': 'xxxx', 'at_hash': 'xxxx', 'name': 'Full Name Here', 'iat': 1738867520, 'azp': 'xxxx', 'acr': 'loa-2', 'auth_time': 1738867495, 'iss': 'https://auth.domain.tld', 'sub': 'a_new_user', 'exp': 1738871120, 'aud': ['xxxx'], 'groups': ['xx', 'xx', 'xx'], 'sid': 'xxxx'}

Additional Information

I think this issue come from the following PR https://github.com/open-webui/open-webui/pull/8493

Note

If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!

Originally created by @ohmer1 on GitHub (Feb 6, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/9535 # Bug Report -- ## Installation Method uvx ## Environment - **Open WebUI Version:** 0.5.8 and 0.5.10 - **Ollama (if applicable):** N/A - **Operating System:** Ubuntu 24.04 - **Browser (if applicable):** N/A **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on the latest version of both Open WebUI and Ollama. - [ ] I have included the browser console logs. - [ ] I have included the Docker container logs. - [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: User's full name set to his user account. ## Actual Behavior: The user full name is not set. ## Description **Bug Summary:** When a new user do a login from OpenID, his name is not set (set to email address). It was working fine in release 0.5.7. ## Reproduction Details **Steps to Reproduce:** - Login a **new user** to OI with OpenID - Notice the name is not assigned to user account. ## Logs and Screenshots The name is correctly defined in the user_data variable, so the SSO is giving it to the application. I dumped the variable: ``` 2025-02-06T13:45:20.747967-05:00 server openwebui.sh[8764]: WARNI [open_webui.utils.oauth] duff test: {'preferred_username': 'a_new_user', 'email': 'a_new_user@domain.tld', 'nonce': 'xxxx', 'at_hash': 'xxxx', 'name': 'Full Name Here', 'iat': 1738867520, 'azp': 'xxxx', 'acr': 'loa-2', 'auth_time': 1738867495, 'iss': 'https://auth.domain.tld', 'sub': 'a_new_user', 'exp': 1738871120, 'aud': ['xxxx'], 'groups': ['xx', 'xx', 'xx'], 'sid': 'xxxx'} ``` ## Additional Information I think this issue come from the following PR https://github.com/open-webui/open-webui/pull/8493 ## Note If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
Author
Owner

@bmkor commented on GitHub (Feb 6, 2025):

Yes, we also experience this for new user logging in via OIDC.

<!-- gh-comment-id:2641357741 --> @bmkor commented on GitHub (Feb 6, 2025): Yes, we also experience this for new user logging in via OIDC.
Author
Owner

@ZaibanAli commented on GitHub (Feb 6, 2025):

Experiencing the same, I will look into this issue today.

<!-- gh-comment-id:2641372568 --> @ZaibanAli commented on GitHub (Feb 6, 2025): Experiencing the same, I will look into this issue today.
Author
Owner

@koorlan commented on GitHub (Feb 7, 2025):

Same experience here.

( im autehnticating trough azure oidc .. entra)

--> i tried with another username claim ( preffered_username ) same result

I did some investigation and its not a frontend issue (display wrong user data ) but on the database the user.name is containing the email ..

Image
<!-- gh-comment-id:2642918496 --> @koorlan commented on GitHub (Feb 7, 2025): Same experience here. ( im autehnticating trough azure oidc .. entra) --> i tried with another username claim ( preffered_username ) same result I did some investigation and its not a frontend issue (display wrong user data ) but on the database the user.name is containing the email .. <img width="568" alt="Image" src="https://github.com/user-attachments/assets/f12332ba-30ea-42f7-8bb6-37f816241b5a" />
Author
Owner

@ZaibanAli commented on GitHub (Feb 7, 2025):

The pull request is already opened for a fix with #9516, thanks to gramakri

<!-- gh-comment-id:2643263199 --> @ZaibanAli commented on GitHub (Feb 7, 2025): The pull request is already opened for a fix with [#9516](https://github.com/open-webui/open-webui/pull/9516), thanks to [gramakri](https://github.com/gramakri)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#54214