Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
saml: Set requestedAuthnContext to False in prod_settings_template.
Mateusz Mandera4c9792b6a3f4
diff --git a/zproject/prod_settings_template.py b/zproject/prod_settings_template.pyindex f90af90c37c..08bd16a4323 100644--- a/zproject/prod_settings_template.py+++ b/zproject/prod_settings_template.py@@ -449,6 +449,17 @@ SOCIAL_AUTH_SAML_SECURITY_CONFIG: Dict[str, Any] = {## set this to True to enable signing of SAMLRequests using the## private key."authnRequestsSigned": False,+ ## If you'd like the Zulip server to request that the IdP limit user identity+ ## verification to a specific set of authentication contexts, you can do this+ ## by changing the requestedAuthnContext parameter to a list of specific+ ## Authentication Context Classes that you want to include in the AuthnContext. E.g.:+ ##+ # "requestedAuthnContext": ["urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport",+ # "urn:oasis:names:tc:SAML:2.0:ac:classes:X509"],+ ##+ ## For details on this, see https://github.com/onelogin/python3-saml#settings+ ## and https://docs.oasis-open.org/security/saml/v2.0/saml-authn-context-2.0-os.pdf+ "requestedAuthnContext": False,}## These SAML settings you likely won't need to modify.