Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

saml: Link to python3-saml docs above the security config dict.

Mateusz Mandera0e8735aeea13
diff --git a/zproject/prod_settings_template.py b/zproject/prod_settings_template.py
index 08bd16a4323..7eab3e7a4db 100644
--- a/zproject/prod_settings_template.py
+++ b/zproject/prod_settings_template.py
@@ -444,6 +444,8 @@ SOCIAL_AUTH_SAML_ENABLED_IDPS: Dict[str, Any] = {
},
}
+# More complete documentation of the configurable security settings
+# are available in the "security" part of https://github.com/onelogin/python3-saml#settings.
SOCIAL_AUTH_SAML_SECURITY_CONFIG: Dict[str, Any] = {
## If you've set up the optional private and public server keys,
## set this to True to enable signing of SAMLRequests using the
@@ -457,7 +459,7 @@ SOCIAL_AUTH_SAML_SECURITY_CONFIG: Dict[str, Any] = {
# "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
+ ## For details on this, see the aforementioned python3-saml documentation
## and https://docs.oasis-open.org/security/saml/v2.0/saml-authn-context-2.0-os.pdf
"requestedAuthnContext": False,
}