mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 15:54:15 -05:00
issue: OAuth Credential Decryption Failure #6601
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?
Originally created by @NeilMazumdar on GitHub (Oct 7, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.32
Ollama Version (if applicable)
No response
Operating System
Host: Azure Web App (Linux-based container host), Container OS: Debian GNU/Linux 11 (bullseye)
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Open WebUI should start successfully and be accessible via the web browser. If there are issues with OAuth credentials (such as a changed
WEBUI_SECRET_KEY), the application should either:Actual Behavior
The application crashes during startup with a
cryptography.fernet.InvalidTokenexception, preventing the entire application from starting. This creates a complete service outage with no graceful degradation or recovery path.The error prevents any user from accessing the application, even though the underlying issue only affects a single MCP tool server connection configuration.
Steps to Reproduce
Prerequisites
Reproduction Steps
Initial Setup:
WEBUI_SECRET_KEYenvironment variableTrigger the Bug:
WEBUI_SECRET_KEYenvironment variable to a different valueWEBUI_SECRET_KEYRestart the Application:
Observe the Crash:
Application State:
Database Configuration
The problematic configuration in the SQLite database (
webui.db,configtable) looks like:Logs & Screenshots
Docker Container Logs
Additional Information
Workaround / Temporary Fix
Access the SQLite database and modify the OAuth configuration: