open-webui/backend/open_webui
sasidhar 6860dec08f fix: properly sign out user on trusted email mismatch
When using trusted email header authentication, properly sign out the user
when the logged-in user's email doesn't match the trusted email header value.
This ensures proper session cleanup when the OAuth server changes the
authenticated user.

- Add response parameter to get_current_user function
- Delete JWT token cookie on email mismatch
- Delete OAuth token cookie if present
- Force re-authentication with 401 error
2025-06-08 14:26:55 +05:30
..
data
internal use unquote_user in peewee 3.17.10 2025-05-20 15:18:32 -04:00
migrations feat: notes 2025-05-03 18:16:32 +04:00
models refac: user chat list modal 2025-05-25 01:44:53 +04:00
retrieval refac 2025-05-30 01:19:56 +04:00
routers refac 2025-05-30 01:24:54 +04:00
socket refac: socket 2025-05-09 14:23:16 +04:00
static chore: removed duplicate css elements 2025-05-28 08:31:11 -04:00
storage Fix S3 allowed characters in Tags. 2025-05-23 11:09:40 +02:00
test feat: add AWS workload identity support 2025-02-27 13:12:54 -05:00
utils fix: properly sign out user on trusted email mismatch 2025-06-08 14:26:55 +05:30
__init__.py Update __init__.py 2025-04-15 09:55:35 +02:00
alembic.ini
config.py refac: PLEASE follow existing convention 2025-05-30 00:34:18 +04:00
constants.py enh: password max length verification 2025-04-08 12:50:25 -07:00
env.py feat: WEBUI_AUTH_TRUSTED_GROUPS_HEADER 2025-05-24 23:17:12 +04:00
functions.py refac/fix: open webui params handling 2025-05-29 12:57:58 +04:00
main.py refac: PLEASE follow existing convention 2025-05-30 00:34:18 +04:00
tasks.py fix: ongoing chat stop issue 2025-04-12 20:51:02 -07:00