open-webui/backend/apps/webui
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
..
internal feat: tools backend 2024-06-10 20:39:55 -07:00
models chore: format 2024-06-15 03:36:17 -06:00
routers added ability to set user name for federated auth 2024-06-16 18:44:10 -02:30
main.py added ability to set user name for federated auth 2024-06-16 18:44:10 -02:30
utils.py feat: fc integration 2024-06-10 23:40:27 -07:00