Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
backends: Only support OIDC on Plus plans.
Alex Vandivere61d8974867e
diff --git a/starlight_help/src/content/docs/configure-authentication-methods.mdx b/starlight_help/src/content/docs/configure-authentication-methods.mdxindex 076d56740db..69d6b74470d 100644--- a/starlight_help/src/content/docs/configure-authentication-methods.mdx+++ b/starlight_help/src/content/docs/configure-authentication-methods.mdx@@ -26,6 +26,8 @@ Zulip Cloud Plus, and all self-hosted Zulip servers:The following options are available for organizations on Zulip Cloud Plus, and all self-hosted Zulip servers:* [SAML authentication](/help/saml-authentication), including Okta, OneLogin, Entra ID (AzureAD), Keycloak, Auth0+* [OpenID+ Connect](https://zulip.readthedocs.io/en/stable/production/authentication-methods.html#openid-connect)* [SCIM provisioning](/help/scim)The following authentication and identity management options are available for@@ -37,8 +39,6 @@ to inquire.sync](https://zulip.readthedocs.io/en/stable/production/authentication-methods.html#ldap-including-active-directory)* [AD/LDAP groupsync](https://zulip.readthedocs.io/en/stable/production/authentication-methods.html#ldap-including-active-directory)-* [OpenID- Connect](https://zulip.readthedocs.io/en/stable/production/authentication-methods.html#openid-connect)* [Custom authenticationoptions](https://python-social-auth.readthedocs.io/en/latest/backends/index.html#social-backends)with python-social-authdiff --git a/zerver/tests/test_import_export.py b/zerver/tests/test_import_export.pyindex e97db309843..62a3f6cba19 100644--- a/zerver/tests/test_import_export.py+++ b/zerver/tests/test_import_export.py@@ -2638,6 +2638,7 @@ class RealmImportExportTest(ExportFile):["WARNING:root:Dropped restricted authentication method: AzureAD","WARNING:root:Dropped restricted authentication method: SAML",+ "WARNING:root:Dropped restricted authentication method: OpenID Connect",],)diff --git a/zproject/backends.py b/zproject/backends.pyindex 1309c2100c9..51c29a8b6f5 100644--- a/zproject/backends.py+++ b/zproject/backends.py@@ -3652,6 +3652,8 @@ class GenericOpenIdConnectBackend(SocialAuthMixin, OpenIdConnectAuth):REDIS_EXPIRATION_SECONDS = DEFAULT_REDIS_EXPIRATION_SECONDS_FOR_TRANSIENT_STATE+ available_for_cloud_plans = [Realm.PLAN_TYPE_PLUS]+full_name_validated = getattr(settings, "SOCIAL_AUTH_OIDC_FULL_NAME_VALIDATED", False)def __init__(self, *args: Any, **kwargs: Any) -> None: