feat: ENABLE_OAUTH_TOKEN_EXCHANGE

This commit is contained in:
Timothy Jaeryang Baek committed 2026-01-23 04:25:39 +04:00
1 parent 52c73390f8
commit 655420fd25
2 files changed
+148

No files matched your search

+6
View File
@@ -523,6 +523,12 @@ OAUTH_SESSION_TOKEN_ENCRYPTION_KEY = os.environ.get(
"OAUTH_SESSION_TOKEN_ENCRYPTION_KEY", WEBUI_SECRET_KEY
)
# Token Exchange Configuration
# Allows external apps to exchange OAuth tokens for OpenWebUI tokens
ENABLE_OAUTH_TOKEN_EXCHANGE = (
os.environ.get("ENABLE_OAUTH_TOKEN_EXCHANGE", "False").lower() == "true"
)
####################################
# SCIM Configuration
####################################