Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

SAML: allowed clock/time difference from IdP #8731

Merged
merged 9 commits into from
Nov 18, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/8731.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAML: add `accepted_time_diff` example to `saml2_config:` config to allow clock/time difference from IdP.
clokep marked this conversation as resolved.
Show resolved Hide resolved
3 changes: 3 additions & 0 deletions docs/sample_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1545,6 +1545,9 @@ saml2_config:
# remote:
# - url: https://our_idp/metadata.xml

# Allowed clock difference in seconds from IdP.
#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:
Expand Down
3 changes: 3 additions & 0 deletions synapse/config/saml2_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ def generate_config_section(self, config_dir_path, server_name, **kwargs):
# remote:
# - url: https://our_idp/metadata.xml

# Allowed clock difference in seconds from IdP.
#accepted_time_diff: 3
clokep marked this conversation as resolved.
Show resolved Hide resolved

# 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:
Expand Down