feat: update signout functionality to use OpenID configuration for logout URL and remove the logout variable from config

This commit is contained in:
Zaiban Ali
2024-12-07 15:13:13 +01:00
parent d5ce85f34a
commit 9918ec6246
3 changed files with 20 additions and 16 deletions

View File

@@ -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",