mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #20750] [CLOSED] fix: URL-encode OAuth client secrets to handle special characters #64619
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/20750
Author: @YuriNachos
Created: 1/17/2026
Status: ❌ Closed
Base:
dev← Head:fix-20733-oauth-url-encoding📝 Commits (1)
e4768a7fix: URL-encode OAuth client secrets to handle special characters📊 Changes
1 file changed (+6 additions, -6 deletions)
View changed files
📝
backend/open_webui/config.py(+6 -6)📄 Description
Description
Added
Changed
urllib.parse.quote()withsafe=''to all OAuth provider client secretsDeprecated
Removed
Fixed
+) causing authentication failures+were not properly URL-encoded before being sent to the IdPapplication/x-www-form-urlencodedformat,+is interpreted as spaceSecurity
Breaking Changes
Additional Information
helloworld+1234is now properly encoded ashelloworld%2B1234Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.