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 committed 2024-12-07 15:13:13 +01:00
1 parent d5ce85f34a
commit 9918ec6246
3 files changed
+20 -16

No files matched your search

-6
View File
@@ -384,12 +384,6 @@ OAUTH_PROVIDER_NAME = PersistentConfig(
os.environ.get("OAUTH_PROVIDER_NAME", "SSO"),
)
OAUTH_LOGOUT_URL = PersistentConfig(
"OAUTH_LOGOUT_URL",
"oauth.oidc.logout_url",
os.environ.get("OAUTH_LOGOUT_URL", ""),
)
OAUTH_USERNAME_CLAIM = PersistentConfig(
"OAUTH_USERNAME_CLAIM",
"oauth.oidc.username_claim",