mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
feat: update signout functionality to use OpenID configuration for logout URL and remove the logout variable from config
This commit is contained in:
@@ -254,7 +254,7 @@ class OAuthManager:
|
||||
secure=WEBUI_SESSION_COOKIE_SECURE,
|
||||
)
|
||||
|
||||
if OAUTH_PROVIDER_NAME.value == "keycloak":
|
||||
if OAUTH_PROVIDER_NAME.value:
|
||||
id_token = token.get("id_token")
|
||||
response.set_cookie(
|
||||
key="id_token",
|
||||
|
||||
Reference in New Issue
Block a user