open-webui/backend
John Karabudak c00a6fa02a added ability to set user name for federated auth
this commit adds an optional environment variable named `WEBUI_AUTH_TRUSTED_NAME_HEADER`, which sets the user's name to the contents of that header. this only happens if the user is just being created, just like how the trusted e-mail header works.

if the environment variable or header is not present, we fall back to the original behavior which is to re-use the user e-mail address.

Co-Authored-By: Nikita Borzykh <sample@fastmail.com>
2024-06-16 18:44:10 -02:30
..
apps added ability to set user name for federated auth 2024-06-16 18:44:10 -02:30
data feat: prompt variables from suggestions 2024-05-02 00:45:04 -07:00
open_webui infra: build 2024-05-20 16:34:37 +08:00
static Create logo.png 2024-05-02 01:21:44 -07:00
utils feat: current_time, current_datetime 2024-06-16 10:39:48 -06:00
.dockerignore fix: litellm config issue 2024-02-24 22:35:11 -08:00
.gitignore fix: gitignore 2024-02-24 00:29:03 -08:00
config.py added ability to set user name for federated auth 2024-06-16 18:44:10 -02:30
constants.py feat: tools integration 2024-06-10 21:33:46 -07:00
dev.sh fix: make backend/fix.sh executable 2024-04-29 21:01:54 +01:00
main.py Merge pull request #3217 from theasp/better-body-logging 2024-06-16 09:07:22 -07:00
requirements.txt add: duckduckgo-search dependencies added in requirements.txt 2024-06-11 19:53:57 +05:30
start_windows.bat update 2024-06-11 12:32:29 -04:00
start.sh Update start.sh to be case-independent when testing env vars 2024-06-08 10:59:59 -07:00