feat: update signout functionality to use OpenID configuration for logout URL and remove the logout variable from config
This commit is contained in:
1 parent
d5ce85f34a
commit
9918ec6246
3 files changed
+20
-16
No files matched your search
@@ -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