mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #8493] [MERGED] fix: Check OAuth name type with fallback #22235
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/8493
Author: @kyunwang
Created: 1/12/2025
Status: ✅ Merged
Merged: 1/30/2025
Merged by: @tjbck
Base:
dev← Head:fix/oidc-500-error-name-field📝 Commits (9)
1ad9be9Check OAuth name type with fallback568dbc5Merge pull request #8351 from open-webui/dev36b9bceMerge pull request #8770 from open-webui/deve3ae30eMerge pull request #8776 from open-webui/dev9dd45ddMerge pull request #8779 from open-webui/dev6c8d68bMerge pull request #8793 from open-webui/devb72150cMerge pull request #8835 from open-webui/dev9eaf01cMerge branch 'open-webui:main' into fix/oidc-500-error-name-field564c0feFallback using email📊 Changes
1 file changed (+6 additions, -1 deletions)
View changed files
📝
backend/open_webui/utils/oauth.py(+6 -1)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
This PR targets the OIDC OAuth validation error when the
namefield is not present, is empty or a wrong unexpected type in the OIDC provider's response.Changed
namefield with a fallback if the Type is not correct or value is None.Fixed
Additional Information
namefield by default.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.