open-webui/backend/open_webui/routers
Antti Pyykkönen 412923dc91 feat: separate cookie settings between session & auth cookies
Introducing two new env config options to control cookies settings regarding
authentication. These values are taken into use when setting 'token' and 'oauth_id_token'.
To maintain backwards compatibility, the original session cookie values are used as
fallback.

Separation is done to prevent issues with the session cookie. When the config value was
set as 'strict', the oauth flow was broken (since the session cookie was not provided
after the callback).

Providing a separate config for auth & session cookies allows us to keep the 'strict'
settings for auth related cookies, while also allowing the session cookie to behave as
intended (e.g., by configuring it as 'lax').

The original config was added in commit #af4f8aa. However a later commit #a2e889c reused
this config option for other type of cookies, which was not the original intent.
2025-01-23 16:16:50 +02:00
..
audio.py fix: elevenlabs audio 2024-12-26 12:54:31 -08:00
auths.py feat: separate cookie settings between session & auth cookies 2025-01-23 16:16:50 +02:00
channels.py refac 2024-12-31 13:39:03 -08:00
chats.py refac 2025-01-05 00:44:38 -08:00
configs.py
evaluations.py
files.py fix: fixess issue #7181 2025-01-14 09:32:04 +01:00
folders.py
functions.py
groups.py enh: validate user id before saving group 2025-01-20 23:09:55 -08:00
images.py refac: comfyui 2025-01-16 11:17:37 -08:00
knowledge.py chore: format backend 2025-01-19 11:59:07 -08:00
memories.py
models.py
ollama.py fix: model ids not being applied 2025-01-22 19:00:46 -08:00
openai.py fix: model ids not being applied 2025-01-22 19:00:46 -08:00
pipelines.py fix: pipelines outlet 2024-12-26 19:10:28 -08:00
prompts.py chore: format backend 2025-01-19 11:59:07 -08:00
retrieval.py fix: searchapi engine not showing 2025-01-06 10:10:25 -08:00
tasks.py enh: image prompt enhancer 2025-01-16 00:06:37 -08:00
tools.py fix: tools permissions 2025-01-20 22:57:40 -08:00
users.py enh/refac: permissions 2025-01-15 23:01:43 -08:00
utils.py