open-webui/backend/apps/webui/routers
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
..
auths.py added ability to set user name for federated auth 2024-06-16 18:44:10 -02:30
chats.py fix 2024-06-11 01:18:05 -07:00
configs.py feat: banners 2024-05-26 12:18:43 -07:00
documents.py fix/refac: docs 2024-06-12 13:45:13 -07:00
memories.py refac 2024-06-15 03:35:44 -06:00
models.py fix: openai proxy 2024-05-29 11:28:42 -07:00
prompts.py
tools.py refac 2024-06-11 14:32:01 -07:00
users.py feat: admin details in account pending overlay 2024-06-03 21:17:43 -07:00
utils.py feat: code format 2024-06-10 17:12:48 -07:00