mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #22126] [CLOSED] feat: add OAUTH_LOGOUT_CUSTOM_REDIRECT_URI for SSO custom logout #42135
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/22126
Author: @VedantMadane
Created: 3/2/2026
Status: ❌ Closed
Base:
dev← Head:feat/sso-custom-logout-uri📝 Commits (1)
6c012ebfeat: add OAUTH_LOGOUT_CUSTOM_REDIRECT_URI for SSO custom logout📊 Changes
2 files changed (+12 additions, -6 deletions)
View changed files
📝
backend/open_webui/env.py(+4 -0)📝
backend/open_webui/routers/auths.py(+8 -6)📄 Description
Fixes #19182.
This PR introduces a new environment variable \OAUTH_LOGOUT_CUSTOM_REDIRECT_URI\ that allows users to specify a complete custom logout URL for OAuth/OIDC providers.
Testing Confirmation
I have personally tested these changes by:
I agree to the contributor license agreement.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.