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.pull/8793/head
parent
b690542a34
commit
d356588339
|
@ -0,0 +1 @@
|
||||||
|
Add an example and documentation for clock skew to the SAML2 sample configuration to allow for clock/time difference between the homserver and IdP. Contributed by @localguru.
|
|
@ -1546,6 +1546,12 @@ saml2_config:
|
||||||
# remote:
|
# remote:
|
||||||
# - url: https://our_idp/metadata.xml
|
# - 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
|
# 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
|
# to allow IdP-initiated login, set 'allow_unsolicited: true' in a
|
||||||
# 'service.sp' section:
|
# 'service.sp' section:
|
||||||
|
|
|
@ -256,6 +256,12 @@ class SAML2Config(Config):
|
||||||
# remote:
|
# remote:
|
||||||
# - url: https://our_idp/metadata.xml
|
# - 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
|
# 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
|
# to allow IdP-initiated login, set 'allow_unsolicited: true' in a
|
||||||
# 'service.sp' section:
|
# 'service.sp' section:
|
||||||
|
|
Loading…
Reference in New Issue