mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-11 08:22:09 -05:00
[PR #2701] [CLOSED] feat: add trusted name header #59918
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/2701
Author: @sample
Created: 6/1/2024
Status: ❌ Closed
Base:
main← Head:feat/trusted-name-header📝 Commits (10+)
5d38427Merge pull request #2433 from kroonen/devb089986Merge pull request #2432 from cheahjs/feat/a1111-integration-test6d23799fix: formatting3aa201bMerge pull request #2416 from Yanyutin753/tem-trans928b791Merge pull request #2454 from AlyMobarak/patch-13878a09Update languages.json2e16fe9Update languages.json34253d2Merge pull request #2469 from cheahjs/refac/consolidate-chat-into-single-component247af33chore: disable dependabot7ccef3eMerge remote-tracking branch 'upstream/dev' into feat/model-config📊 Changes
201 files changed (+18485 additions, -10785 deletions)
View changed files
📝
.env.example(+1 -5)📝
.github/dependabot.disabled(+0 -0)📝
.github/workflows/build-release.yml(+3 -3)➕
.github/workflows/deploy-to-hf-spaces.yml(+59 -0)📝
.github/workflows/docker-build.yaml(+8 -2)📝
.github/workflows/format-backend.yaml(+1 -1)📝
.github/workflows/format-build-frontend.yaml(+1 -1)📝
.github/workflows/integration-test.yml(+6 -2)➕
.github/workflows/release-pypi.yml(+32 -0)📝
Dockerfile(+12 -10)📝
README.md(+13 -69)➖
backend/apps/litellm/main.py(+0 -379)📝
backend/apps/ollama/main.py(+192 -34)📝
backend/apps/openai/main.py(+121 -42)📝
backend/apps/rag/main.py(+73 -18)➕
backend/apps/rag/search/brave.py(+37 -0)➕
backend/apps/rag/search/google_pse.py(+45 -0)➕
backend/apps/rag/search/main.py(+9 -0)➕
backend/apps/rag/search/searxng.py(+44 -0)➕
backend/apps/rag/search/serper.py(+39 -0)...and 80 more files
📄 Description
Added support for
WEBUI_AUTH_TRUSTED_NAME_HEADERto allow using a trusted name header during user signup if the header is present. Updated signup logic to use the trusted name when available, while preserving the trusted email as a fallback.Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added support for WEBUI_AUTH_TRUSTED_NAME_HEADER to allow using a trusted name header during user signup if the header is present. Updated signup logic to use the trusted name when available, while preserving the trusted email as a fallback.
Added
WEBUI_AUTH_TRUSTED_NAME_HEADERenvironment variable./signinendpoint to use the trusted name header (WEBUI_AUTH_TRUSTED_NAME_HEADER) if present.Changed
main.pyandauths.pyto include the import of the new configuration variable.signinfunction to handle the new header and use its value for the user's name during signup.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.