mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #10581] [CLOSED] feat: redis cache auth and ssl #61418
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/10581
Author: @dsewell
Created: 2/22/2025
Status: ❌ Closed
Base:
dev← Head:redis-cache-auth-and-ssl📝 Commits (9)
9d08c6aadd support for redis cache auth and sslb533a40de-lint398768dMerge branch 'dev' of gitlab.com:synechron-code/ai/nexus-chat/nexuschat into redis-cache-auth-and-ssl17c3959Fix backwards compatibility and Azure token expire errors7bb371eFix backwards compatibility for redis auth and ssl and handle Azure token expiration6105cfbMerge branch 'dev' of gitlab.com:synechron-code/ai/nexus-chat/nexuschat into redis-cache-auth-and-ssl4102285refresh Azure token on expiry675f11afix indentation4a15b61rework Redis Cache azure token expire logic📊 Changes
3 files changed (+175 additions, -9 deletions)
View changed files
📝
backend/open_webui/env.py(+12 -0)📝
backend/open_webui/socket/main.py(+57 -5)📝
backend/open_webui/socket/utils.py(+106 -4)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
WEBSOCKET_REDIS_CERTS (str) - path to certificates file
WEBSOCKET_REDIS_USERNAME (str) - user name to authenticate with Redis
WEBSOCKET_REDIS_PASSWORD (str) - password to authenticate with Redis
WEBSOCKET_REDIS_AZURE_CREDENTIALS (bool) - enable DefaultAzureCredential() to configure credentials if WEBSOCKET_REDIS_PASSWORD is empty.
Changed
Deprecated
None
Removed
None
Fixed
None
Security
None
Breaking Changes
None
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.