summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorMarcus Schopen <lists@localguru.de>2020-11-18 13:36:28 +0100
committerGitHub <noreply@github.com>2020-11-18 07:36:28 -0500
commitd356588339db627397e84e98d3468a4c996253ab (patch)
treed6d48f880128812cb396665a4da3a9e3be0ad6ea /synapse
parentMerge branch 'master' into develop (diff)
downloadsynapse-d356588339db627397e84e98d3468a4c996253ab.tar.xz
SAML: Document allowing a clock/time difference from IdP (#8731)
Updates the sample configuration with the pysaml2 configuration for
accepting clock skew/drift between the homeserver and IdP.
Diffstat (limited to 'synapse')
-rw-r--r--synapse/config/saml2_config.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/config/saml2_config.py b/synapse/config/saml2_config.py
index 2ff7dfb311..f233854941 100644
--- a/synapse/config/saml2_config.py
+++ b/synapse/config/saml2_config.py
@@ -256,6 +256,12 @@ class SAML2Config(Config):
             #  remote:
             #    - url: https://our_idp/metadata.xml
 
+            # Allowed clock difference in seconds between the homeserver and IdP.
+            #
+            # Uncomment the below to increase the accepted time difference from 0 to 3 seconds.
+            #
+            #accepted_time_diff: 3
+
             # By default, the user has to go to our login page first. If you'd like
             # to allow IdP-initiated login, set 'allow_unsolicited: true' in a
             # 'service.sp' section: